Home
last modified time | relevance | path

Searched refs:subpid (Results 1 – 2 of 2) sorted by relevance

/titanic_51/usr/src/lib/libshell/common/sh/
H A Dsubshell.c74 pid_t subpid; /* child process id */ member
204 if(sp->subpid==0) in sh_subfork()
205 sp->subpid = pid; in sh_subfork()
221 sp->subpid=0; in sh_subfork()
644 if(sp->subpid) in sh_subshell()
650 shp->spid = sp->subpid; in sh_subshell()
740 if(sp->subpid && !comsub) in sh_subshell()
741 job_wait(sp->subpid); in sh_subshell()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c82 pid_t subpid; /* child process id */ member
199 if(sp->subpid==0) in sh_subfork()
200 sp->subpid = pid; in sh_subfork()
208 /* setting subpid to 1 causes subshell to exit when reached */ in sh_subfork()
217 sp->subpid=0; in sh_subfork()
813 if(sp->subpid) in sh_subshell()
814 job_wait(sp->subpid); in sh_subshell()