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

/illumos-gate/usr/src/lib/libast/common/include/
H A Dshcmd.h69 # define sh_context(c) ((Shbltin_t*)(c)) macro
70 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
71 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
72 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
73 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
77 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
81 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dshcmd.h78 # define sh_context(c) ((Shbltin_t*)(c)) macro
79 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
80 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
81 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
82 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
86 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
90 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dshcmd.h78 # define sh_context(c) ((Shbltin_t*)(c)) macro
79 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
80 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
81 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
82 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
86 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
90 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dshcmd.h78 # define sh_context(c) ((Shbltin_t*)(c)) macro
79 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
80 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
81 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
82 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
86 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
90 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dshcmd.h78 # define sh_context(c) ((Shbltin_t*)(c)) macro
79 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
80 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
81 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
82 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
86 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
90 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/illumos-gate/usr/src/lib/libcmd/common/
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;
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c228 int sh_histinit(void *sh_context) argument
230 Shell_t *shp = (Shell_t*)sh_context;

Completed in 228 milliseconds