Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsubshell.c564 if(!(sp->nofork = sh_state(SH_NOFORK))) in sh_subshell()
565 sh_onstate(SH_NOFORK); in sh_subshell()
566 flags |= sh_state(SH_NOFORK); in sh_subshell()
571 flags &= ~sh_state(SH_NOFORK); in sh_subshell()
597 sh_offstate(SH_NOFORK); in sh_subshell()
H A Dxec.c510 sh_exec(t,sh_isstate(SH_ERREXIT)|sh_isstate(SH_NOFORK)|(mode&~SH_FUNEVAL)); in sh_eval()
663 int execflg = (type&sh_state(SH_NOFORK)); in sh_exec()
918 int was_nofork = execflg?sh_isstate(SH_NOFORK):0; in sh_exec()
940 sh_onstate(SH_NOFORK); in sh_exec()
1039 sh_offstate(SH_NOFORK); in sh_exec()
1361 sh_exec(t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED)); in sh_exec()
1455 …(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK))) in sh_exec()
H A Dmain.c597 execflags |= sh_state(SH_NOFORK); in exfile()
/titanic_41/usr/src/lib/libshell/common/include/
H A Ddefs.h262 #define SH_NOFORK 0 /* set when fork not necessary */ macro