Home
last modified time | relevance | path

Searched refs:curenv (Results 1 – 8 of 8) sorted by relevance

/titanic_51/usr/src/lib/libshell/common/sh/
H A Dsubshell.c191 int curenv = shp->curenv; in sh_subfork() local
199 shp->curenv = 0; in sh_subfork()
202 shp->curenv = curenv; in sh_subfork()
386 if(!sp || sh.curenv==0) in sh_subaliastree()
404 if(!sp || sh.curenv==0) in sh_subfuntree()
475 int savecurenv = shp->curenv; in sh_subshell()
486 if(shp->curenv==0) in sh_subshell()
491 shp->curenv = ++subenv; in sh_subshell()
682 shp->curenv = savecurenv; in sh_subshell()
H A Djobs.c1136 sh.jobenv = sh.curenv; in job_post()
1187 pw->p_env = sh.curenv; in job_post()
1325 else if(intr && pw->p_env!=sh.curenv) in job_wait()
1813 if(pw->p_env != sh.curenv || pw->p_pid==sh.pipepid) in job_subrestore()
H A Dinit.c1398 shp->curenv = 0; in sh_reinit()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c185 int curenv = shp->curenv; in sh_subfork() local
193 shp->curenv = 0; in sh_subfork()
197 shp->curenv = curenv; in sh_subfork()
391 if(!sp || sp->shp->curenv==0) in sh_subaliastree()
409 if(!sp || sp->shp->curenv==0) in sh_subfuntree()
479 int savecurenv = shp->curenv; in sh_subshell()
495 if(shp->curenv==0) in sh_subshell()
500 shp->curenv in sh_subshell()
[all...]
H A Djobs.c1359 shp->jobenv = shp->curenv; in job_post()
1424 pw->p_env = shp->curenv; in job_post()
1572 if((shp->exitval = job_chksave(pid,shp->curenv)) < 0) in job_wait()
1578 else if(intr && pw->p_env!=shp->curenv) in job_wait()
2078 if(pw->p_env != sh.curenv || pw->p_pid==sh.pipepid) in job_subrestore()
H A Dinit.c1673 shp->curenv = 0; in sh_reinit()
/titanic_51/usr/src/lib/libshell/common/include/
H A Ddefs.h132 short curenv; /* current subshell number */ \
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h167 short curenv; /* current subshell number */ \