Home
last modified time | relevance | path

Searched refs:Shell_t (Results 1 – 25 of 119) sorted by relevance

12345

/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dpath.h66 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 Ddefs.h392 extern Shell_t *nv_shell(Namval_t*);
393 extern void sh_applyopts(Shell_t*,Shopt_t);
394 extern char **sh_argbuild(Shell_t*,int*,const struct comnod*,int);
395 extern struct dolnod *sh_argfree(Shell_t *, struct dolnod*,int);
396 extern struct dolnod *sh_argnew(Shell_t*,char*[],struct dolnod**);
397 extern void *sh_argopen(Shell_t*);
398 extern struct argnod *sh_argprocsub(Shell_t*,struct argnod*);
399 extern void sh_argreset(Shell_t*,struct dolnod*,struct dolnod*);
401 extern struct dolnod *sh_arguse(Shell_t*);
403 extern void sh_chktrap(Shell_t*);
[all...]
H A Dio.h71 extern int sh_iocheckfd(Shell_t*,int);
72 extern void sh_ioinit(Shell_t*);
74 extern int sh_iorenumber(Shell_t*,int,int);
77 extern void sh_iorestore(Shell_t*,int,int);
81 extern Sfio_t *sh_iostream(Shell_t*,int);
82 extern int sh_redirect(Shell_t*,struct ionod*,int);
83 extern void sh_iosave(Shell_t *, int,int,char*);
84 extern int sh_get_unused_fd(Shell_t* shp, int min_fd);
85 extern int sh_iovalidfd(Shell_t*, int);
86 extern int sh_inuse(Shell_t*, in
[all...]
H A Dshell.h50 typedef struct Shell_s Shell_t; typedef
54 typedef void (*Shinit_f)(Shell_t*, int);
176 extern Shell_t *sh_init(int,char*[],Shinit_f);
180 extern void *sh_parse(Shell_t*, Sfio_t*,int);
201 extern Shell_t *sh_getinterp(void);
213 extern void sh_sigcheck(Shell_t*);
224 extern __IMPORT__ Shell_t sh;
226 extern Shell_t sh;
H A Djobs.h50 extern char *sh_pid2str(Shell_t*,pid_t);
78 Shell_t *p_shp; /* shell that posted the job */
195 extern int job_post(Shell_t*,pid_t,pid_t);
199 extern void job_chldtrap(Shell_t*, const char*,int);
202 extern void job_init(Shell_t*,int);
203 extern int job_close(Shell_t*);
H A Dstreval.h73 Shell_t *shp;
97 Shell_t *shp;
204 extern Sfdouble_t strval(Shell_t*,const char*,char**,Sfdouble_t(*)(const char**,struct lval*,int,Sfdouble_t),int);
205 extern Arith_t *arith_compile(Shell_t *,const char*,char**,Sfdouble_t(*)(const char**,struct lval*,int,Sfdouble_t),int);
/titanic_51/usr/src/lib/libshell/common/include/
H A Ddefs.h355 extern Shell_t *nv_shell(Namval_t*);
357 extern void sh_applyopts(Shell_t*,Shopt_t);
358 extern char **sh_argbuild(Shell_t*,int*,const struct comnod*,int);
359 extern struct dolnod *sh_argfree(Shell_t *, struct dolnod*,int);
360 extern struct dolnod *sh_argnew(Shell_t*,char*[],struct dolnod**);
361 extern void *sh_argopen(Shell_t*);
362 extern struct argnod *sh_argprocsub(Shell_t*,struct argnod*);
363 extern void sh_argreset(Shell_t*,struct dolnod*,struct dolnod*);
365 extern struct dolnod *sh_arguse(Shell_t*);
367 extern int sh_debug(Shell_t *shp,const char*,const char*,const char*,char *const[],int);
[all …]
H A Dio.h68 extern int sh_iocheckfd(Shell_t*,int);
69 extern void sh_ioinit(Shell_t*);
71 extern int sh_iorenumber(Shell_t*,int,int);
73 extern void sh_iorestore(Shell_t*,int,int);
77 extern Sfio_t *sh_iostream(Shell_t*,int);
78 extern int sh_redirect(Shell_t*,struct ionod*,int);
79 extern void sh_iosave(Shell_t *, int,int,char*);
80 extern void sh_iounsave(Shell_t*);
84 extern int sh_source(Shell_t*, Sfio_t*, const char*);
H A Dshell.h50 typedef struct Shell_s Shell_t; typedef
52 typedef void (*Shinit_f)(Shell_t*, int);
170 extern Shell_t *sh_init(int,char*[],Shinit_f);
174 extern void *sh_parse(Shell_t*, Sfio_t*,int);
193 extern Shell_t *sh_getinterp(void);
220 extern __IMPORT__ Shell_t sh;
222 extern Shell_t sh;
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dtrestore.c35 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) in sh_trestore()
57 static Shnode_t *r_tree(Shell_t *shp) in r_tree()
177 static struct argnod *r_arg(Shell_t *shp) in r_arg()
228 static struct ionod *r_redirect(Shell_t* shp) in r_redirect()
[all …]
H A Ddefs.c32 Shell_t sh = {0};
34 Shell_t *_imp__sh = &sh;
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtrestore.c35 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) in sh_trestore()
57 static Shnode_t *r_tree(Shell_t *shp) in r_tree()
177 static struct argnod *r_arg(Shell_t *shp) in r_arg()
232 static struct ionod *r_redirect(Shell_t* sh
[all...]
H A Dio.c335 Shell_t *sh;
346 static int io_prompt(Shell_t*,Sfio_t*,int);
347 static int io_heredoc(Shell_t*,register struct ionod*, const char*, int);
351 static Sfio_t *subopen(Shell_t *,Sfio_t*, off_t, long);
406 int sh_iovalidfd(Shell_t *shp, int fd) in sh_iovalidfd()
440 int sh_inuse(Shell_t *shp, int fd) in sh_inuse()
445 void sh_ioinit(Shell_t *shp) in sh_ioinit()
474 Shell_t *shp = ((struct Iodisc*)handle)->sh; in outexcept()
517 Sfio_t *sh_iostream(Shell_t *shp, register int fd) in sh_iostream()
593 static void io_preserve(Shell_t* sh
[all...]
H A Dpath.c57 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) in path_xattr()
106 static pid_t path_pfexecve(Shell_t *shp,const char *path, char *argv[],char *const envp[],int spawn) in path_pfexecve()
137 static pid_t _spawnveg(Shell_t *shp,const char *path, char* const argv[], char* const envp[], pid_t pgid) in _spawnveg()
155 static pid_t path_xargs(Shell_t *shp,const char *path, char *argv[],char *const envp[], int spawn) in path_xargs()
238 char *path_pwd(Shell_t *sh
[all...]
H A Dinit.c125 extern void bash_init(Shell_t*,int);
150 Shell_t *sh;
156 Shell_t *sh;
183 Shell_t *sh;
221 static void env_init(Shell_t*);
222 static Init_t *nv_init(Shell_t*);
223 static Dt_t *inittree(Shell_t*,const struct shtable2*);
259 Shell_t *shp = nv_shell(np); in put_ed()
286 Shell_t *shp = nv_shell(np); in put_history()
313 Shell_t *sh in put_optindex()
[all...]
H A Ddefs.c32 Shell_t sh = {0};
35 Shell_t *_imp__sh = &sh;
/titanic_51/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h59 typedef struct Shell_s Shell_t; typedef
61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int));
180 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f));
184 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int));
203 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void));
230 extern __MANGLE__ __IMPORT__ Shell_t sh;
232 extern __MANGLE__ Shell_t sh;
/titanic_51/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h59 typedef struct Shell_s Shell_t; typedef
61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int));
180 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f));
184 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int));
203 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void));
230 extern __MANGLE__ __IMPORT__ Shell_t sh;
232 extern __MANGLE__ Shell_t sh;
/titanic_51/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h59 typedef struct Shell_s Shell_t; typedef
61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int));
180 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f));
184 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int));
203 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void));
230 extern __MANGLE__ __IMPORT__ Shell_t sh;
232 extern __MANGLE__ Shell_t sh;
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h59 typedef struct Shell_s Shell_t; typedef
61 typedef void (*Shinit_f) __PROTO__((Shell_t*, int));
180 extern __MANGLE__ Shell_t *sh_init __PROTO__((int,char*[],Shinit_f));
184 extern __MANGLE__ __V_ *sh_parse __PROTO__((Shell_t*, Sfio_t*,int));
203 extern __MANGLE__ Shell_t *sh_getinterp __PROTO__((void));
230 extern __MANGLE__ __IMPORT__ Shell_t sh;
232 extern __MANGLE__ Shell_t sh;
/titanic_51/usr/src/lib/libast/common/include/
H A Dshcmd.h32 # define Shell_t void macro
46 Shell_t *shp;
66 # undef Shell_t
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Dshcmd.h41 # define Shell_t void macro
55 Shell_t *shp;
75 # undef Shell_t
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dshcmd.h41 # define Shell_t void macro
55 Shell_t *shp;
75 # undef Shell_t
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dshcmd.h41 # define Shell_t void macro
55 Shell_t *shp;
75 # undef Shell_t
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Dshcmd.h41 # define Shell_t void macro
55 Shell_t *shp;
75 # undef Shell_t

12345