Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c619 if(!(sp->nofork = sh_state(SH_NOFORK))) in sh_subshell()
620 sh_onstate(SH_NOFORK); in sh_subshell()
621 flags |= sh_state(SH_NOFORK); in sh_subshell()
626 flags &= ~sh_state(SH_NOFORK); in sh_subshell()
659 sh_offstate(SH_NOFORK); in sh_subshell()
H A Dxec.c619 sh_exec(t,sh_isstate(SH_ERREXIT)|sh_isstate(SH_NOFORK)|(mode&~SH_FUNEVAL)); in sh_eval()
854 sh_exec(t,filt==1||filt==2?SH_NOFORK:0); in sh_coexec()
984 int execflg = (type&sh_state(SH_NOFORK)); in sh_exec()
1312 int was_nofork = execflg?sh_isstate(SH_NOFORK):0; in sh_exec()
1334 sh_onstate(SH_NOFORK); in sh_exec()
1437 sh_offstate(SH_NOFORK); in sh_exec()
1879 sh_exec(t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED)); in sh_exec()
1993 …(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK))) in sh_exec()
3415 if((execflg & sh_state(SH_NOFORK))) in sh_funscope()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h298 #define SH_NOFORK 0 /* set when fork not necessary */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c294 sh_offstate(SH_NOFORK); in b_dot_cmd()