Searched refs:sh_context (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libast/include/
H A Dshcmd.h84 # define sh_context(c) ((Shbltin_t*)(c)) macro
85 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
86 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
87 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
88 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
89 # define sh_builtin(c,n,f,p) ((c)?(*sh_context(c)->shbltin)(n,(Shbltin_f)(f),sh_context(p)):0)
93 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
100 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/ast/src/lib/libcmd/
H A Dtee.c120 if (context && (tp = (Tee_t*)sh_context(context)->data))
122 sh_context(context)->data = 0;
175 sh_context(context)->data = (void*)tp;
/ast/src/cmd/ksh93/edit/
H A Dhistory.c227 int sh_histinit(void *sh_context) argument
229 Shell_t *shp = (Shell_t*)sh_context;

Completed in 9 milliseconds