Searched refs:spawnpid (Results 1 – 2 of 2) sorted by relevance
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | xec.c | 2978 static pid_t spawnpid; in sh_ntfork() local 2999 spawnpid = 0; in sh_ntfork() 3076 spawnpid = run_subshell(t,grp); in sh_ntfork() 3104 if(spawnpid>0) in sh_ntfork() 3105 _sh_fork(spawnpid,otype,jobid); in sh_ntfork() 3108 while(tcsetpgrp(job.fd,job.curpgid)<0 && job.curpgid!=spawnpid) in sh_ntfork() 3109 job.curpgid = spawnpid; in sh_ntfork() 3115 if(spawnpid<0 && (otype&FCOOP)) in sh_ntfork() 3123 return(spawnpid); in sh_ntfork() 3136 spawnpid = -1; in sh_ntfork() [all …]
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | xec.c | 3775 static pid_t spawnpid; in sh_ntfork() local 3796 spawnpid = 0; in sh_ntfork() 3879 spawnpid = run_subshell(shp,t,grp); in sh_ntfork() 3908 if(spawnpid>0) in sh_ntfork() 3909 _sh_fork(shp,spawnpid,otype,jobid); in sh_ntfork() 3912 while(tcsetpgrp(job.fd,job.curpgid)<0 && job.curpgid!=spawnpid) in sh_ntfork() 3913 job.curpgid = spawnpid; in sh_ntfork() 3919 if(spawnpid<0 && (otype&FCOOP)) in sh_ntfork() 3927 return(spawnpid); in sh_ntfork() 3940 spawnpid in sh_ntfork() [all...] |