/osnet-11/usr/src/lib/libshell/common/include/ |
H A D | path.h | 66 Shell_t *shp; 74 extern void path_newdir(Shell_t*,Pathcomp_t*); 76 extern Pathcomp_t *path_unsetfpath(Shell_t*); 77 extern Pathcomp_t *path_addpath(Shell_t*,Pathcomp_t*,const char*,int); 81 extern Pathcomp_t *path_absolute(Shell_t*, const char*, Pathcomp_t*); 83 extern char *path_fullname(Shell_t*,const char*); 84 extern int path_expand(Shell_t*,const char*, struct argnod**); 85 extern void path_exec(Shell_t*,const char*,char*[],struct argnod*); 86 extern pid_t path_spawn(Shell_t*,const char*,char*[],char*[],Pathcomp_t*,int); 90 extern int path_open(Shell_t*,cons [all...] |
H A D | io.h | 69 extern int sh_iocheckfd(Shell_t*,int); 70 extern void sh_ioinit(Shell_t*); 72 extern int sh_iorenumber(Shell_t*,int,int); 74 extern void sh_iorestore(Shell_t*,int,int); 78 extern Sfio_t *sh_iostream(Shell_t*,int); 79 extern int sh_redirect(Shell_t*,struct ionod*,int); 80 extern void sh_iosave(Shell_t *, int,int,char*); 81 extern int sh_iovalidfd(Shell_t*, int); 82 extern int sh_inuse(Shell_t*, int); 83 extern void sh_iounsave(Shell_t*); [all...] |
H A D | defs.h | 382 extern Shell_t *nv_shell(Namval_t*); 383 extern int sh_addlib(Shell_t*,void*); 384 extern void sh_applyopts(Shell_t*,Shopt_t); 385 extern char **sh_argbuild(Shell_t*,int*,const struct comnod*,int); 386 extern struct dolnod *sh_argfree(Shell_t *, struct dolnod*,int); 387 extern struct dolnod *sh_argnew(Shell_t*,char*[],struct dolnod**); 388 extern void *sh_argopen(Shell_t*); 389 extern struct argnod *sh_argprocsub(Shell_t*,struct argnod*); 390 extern void sh_argreset(Shell_t*,struct dolnod*,struct dolnod*); 392 extern struct dolnod *sh_arguse(Shell_t*); [all...] |
H A D | test.h | 60 extern int test_unop(Shell_t*,int, const char*); 62 extern int test_binop(Shell_t*,int, const char*, const char*);
|
H A D | jobs.h | 50 extern char *sh_pid2str(Shell_t*,pid_t); 78 Shell_t *p_shp; /* shell that posted the job */ 187 extern int job_post(Shell_t*,pid_t,pid_t); 191 extern void job_chldtrap(Shell_t*, const char*,int); 194 extern void job_init(Shell_t*,int); 195 extern int job_close(Shell_t*);
|
H A D | shell.h | 50 typedef struct Shell_s Shell_t; typedef in typeref:struct:Shell_s 52 typedef void (*Shinit_f)(Shell_t*, int); 173 extern Shell_t *sh_init(int,char*[],Shinit_f); 177 extern void *sh_parse(Shell_t*, Sfio_t*,int); 196 extern Shell_t *sh_getinterp(void); 223 extern __IMPORT__ Shell_t sh; 225 extern Shell_t sh;
|
H A D | streval.h | 73 Shell_t *shp; 96 Shell_t *shp; 203 extern Sfdouble_t strval(Shell_t*,const char*,char**,Sfdouble_t(*)(const char**,struct lval*,int,Sfdouble_t),int); 204 extern Arith_t *arith_compile(Shell_t *,const char*,char**,Sfdouble_t(*)(const char**,struct lval*,int,Sfdouble_t),int);
|
H A D | regress.h | 55 extern void sh_regress_init(Shell_t*);
|
H A D | shnodes.h | 212 extern void sh_freeup(Shell_t*); 214 extern Sfio_t *sh_subshell(Shell_t*,Shnode_t*, int, int); 219 extern Shnode_t *sh_trestore(Shell_t*, Sfio_t*);
|
H A D | shlex.h | 37 Shell_t *sh; /* pointer to the interpreter */ 162 extern Lex_t *sh_lexopen(Lex_t*, Shell_t*, int);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | defs.c | 32 Shell_t sh = {0}; 35 Shell_t *_imp__sh = &sh;
|
H A D | trestore.c | 35 static struct dolnod *r_comlist(Shell_t*); 36 static struct argnod *r_arg(Shell_t*); 37 static struct ionod *r_redirect(Shell_t*); 38 static struct regnod *r_switch(Shell_t*); 39 static Shnode_t *r_tree(Shell_t*); 41 static void r_comarg(Shell_t*,struct comnod*); 47 Shnode_t *sh_trestore(Shell_t *shp,Sfio_t *in) 57 static Shnode_t *r_tree(Shell_t *shp) 177 static struct argnod *r_arg(Shell_t *shp) 230 static struct ionod *r_redirect(Shell_t* sh [all...] |
H A D | path.c | 57 static int canexecute(Shell_t*,char*,int); 58 static void funload(Shell_t*,int,const char*); 59 static void exscript(Shell_t*,char*, char*[], char**); 60 static int path_chkpaths(Shell_t*,Pathcomp_t*,Pathcomp_t*,Pathcomp_t*,int); 61 static void path_checkdup(Shell_t *shp,register Pathcomp_t*); 80 int path_xattr(Shell_t *shp, const char *path, char *rpath) 106 static pid_t path_pfexecve(Shell_t *shp,const char *path, char *argv[],char *const envp[],int spawn) 137 static pid_t _spawnveg(Shell_t *shp,const char *path, char* const argv[], char* const envp[], pid_t pgid) 162 static pid_t path_xargs(Shell_t *shp,const char *path, char *argv[],char *const envp[], int spawn) 239 char *path_pwd(Shell_t *sh [all...] |
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | shcmd.h | 49 # define Shell_t void macro 63 Shell_t *shp; 83 # undef Shell_t macro
|
/osnet-11/usr/src/lib/libast/common/include/ |
H A D | shcmd.h | 40 # define Shell_t void macro 54 Shell_t *shp; 74 # undef Shell_t macro
|
/osnet-11/usr/src/lib/libast/i386/include/ast/ |
H A D | shcmd.h | 49 # define Shell_t void macro 63 Shell_t *shp; 83 # undef Shell_t macro
|
/osnet-11/usr/src/lib/libast/sparc/include/ast/ |
H A D | shcmd.h | 49 # define Shell_t void macro 63 Shell_t *shp; 83 # undef Shell_t macro
|
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | shcmd.h | 49 # define Shell_t void macro 63 Shell_t *shp; 83 # undef Shell_t macro
|
/osnet-11/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 59 typedef struct Shell_s Shell_t; typedef in typeref:struct:Shell_s 61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int)); 183 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f)); 187 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int)); 206 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void)); 233 extern __MANGLE__ __IMPORT__ Shell_t sh; 235 extern __MANGLE__ Shell_t sh;
|
/osnet-11/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 59 typedef struct Shell_s Shell_t; typedef in typeref:struct:Shell_s 61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int)); 183 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f)); 187 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int)); 206 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void)); 233 extern __MANGLE__ __IMPORT__ Shell_t sh; 235 extern __MANGLE__ Shell_t sh;
|
/osnet-11/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 59 typedef struct Shell_s Shell_t; typedef in typeref:struct:Shell_s 61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int)); 183 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f)); 187 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int)); 206 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void)); 233 extern __MANGLE__ __IMPORT__ Shell_t sh; 235 extern __MANGLE__ Shell_t sh;
|
/osnet-11/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 59 typedef struct Shell_s Shell_t; typedef in typeref:struct:Shell_s 61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int)); 183 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f)); 187 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int)); 206 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void)); 233 extern __MANGLE__ __IMPORT__ Shell_t sh; 235 extern __MANGLE__ Shell_t sh;
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | cflow.c | 49 register Shell_t *shp = ((Shbltin_t*)extra)->shp; 87 register Shell_t *shp = ((Shbltin_t*)extra)->shp;
|
H A D | alarm.c | 47 Shell_t *sh; 129 void sh_timetraps(Shell_t *shp) 187 Shell_t *shp = tp->sh; 238 register Shell_t *shp = ((Shbltin_t*)extra)->shp;
|
H A D | getopts.c | 38 Shell_t *shp = *(Shell_t**)(dp+1); 58 register Shell_t *shp = ((Shbltin_t*)extra)->shp; 65 Shell_t *sh;
|