Searched defs:sh_context (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dshcmd.h86 # define sh_context(c) ((Shbltin_t*)(c)) macro
87 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
88 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
89 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
90 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
91 # define sh_builtin(c,n,f,p) ((c)?(*sh_context(c)->shbltin)(n,(Shbltin_f)(f),(__V_*)(p)):0)
95 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
99 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/osnet-11/usr/src/lib/libast/common/include/
H A Dshcmd.h77 # define sh_context(c) ((Shbltin_t*)(c)) macro
78 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
79 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
80 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
81 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
82 # define sh_builtin(c,n,f,p) ((c)?(*sh_context(c)->shbltin)(n,(Shbltin_f)(f),(void*)(p)):0)
86 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
90 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dshcmd.h86 # define sh_context(c) ((Shbltin_t*)(c)) macro
87 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
88 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
89 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
90 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
91 # define sh_builtin(c,n,f,p) ((c)?(*sh_context(c)->shbltin)(n,(Shbltin_f)(f),(__V_*)(p)):0)
95 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
99 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dshcmd.h86 # define sh_context(c) ((Shbltin_t*)(c)) macro
87 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
88 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
89 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
90 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
91 # define sh_builtin(c,n,f,p) ((c)?(*sh_context(c)->shbltin)(n,(Shbltin_f)(f),(__V_*)(p)):0)
95 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
99 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dshcmd.h86 # define sh_context(c) ((Shbltin_t*)(c)) macro
87 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1)
88 # define sh_system(c,str) ((c)?(*sh_context(c)->shtrap)(str,0):system(str))
89 # define sh_exit(c,n) ((c)?(*sh_context(c)->shexit)(n):exit(n))
90 # define sh_checksig(c) ((c) && sh_context(c)->sigset)
91 # define sh_builtin(c,n,f,p) ((c)?(*sh_context(c)->shbltin)(n,(Shbltin_f)(f),(__V_*)(p)):0)
95 # define LIB_INIT(c) ((c) && (sh_context(c)->nosfio = 1))
99 (sh_context(c)->notify = ((flg)&ERROR_NOTIFY)?1:0);} while(0)
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c227 int sh_histinit(void *sh_context) argument
229 Shell_t *shp = (Shell_t*)sh_context;

Completed in 208 milliseconds