Home
last modified time | relevance | path

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

/titanic_41/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_41/usr/src/lib/libshell/common/include/
H A Ddefs.h132 short curenv; /* current subshell number */ \