Home
last modified time | relevance | path

Searched refs:sh_context (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/contrib/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)
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtee.c120 if (context && (tp = (Tee_t*)sh_context(context)->data)) in b_tee()
122 sh_context(context)->data = 0; in b_tee()
175 sh_context(context)->data = (void*)tp; in b_tee()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c227 int sh_histinit(void *sh_context) in sh_histinit() argument
229 Shell_t *shp = (Shell_t*)sh_context; in sh_histinit()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE247 09-06-19 include/shcmd.h: add sh_context(p) cast