Lines Matching refs:jobid
1166 int no_fork,jobid; in sh_exec() local
1213 parent = sh_ntfork(shp,t,com,&jobid,ntflag); in sh_exec()
1215 parent = sh_fork(type,&jobid); in sh_exec()
1222 parent = sh_ntfork(shp,t,com,&jobid,ntflag); in sh_exec()
1224 parent = sh_fork(type,&jobid); in sh_exec()
1226 if((parent = sh_ntfork(shp,t,com,&jobid,ntflag))<=0) in sh_exec()
1232 parent = sh_fork(type,&jobid); in sh_exec()
1282 sfprintf(sfstderr,"[%d]\t%d\n",jobid,parent); in sh_exec()
2372 pid_t _sh_fork(register pid_t parent,int flags,int *jobid) in _sh_fork() argument
2440 if(jobid) in _sh_fork()
2441 *jobid = myjob; in _sh_fork()
2502 pid_t sh_fork(int flags, int *jobid) in sh_fork() argument
2523 while(_sh_fork(parent=fork(),flags,jobid) < 0); in sh_fork()
2976 static pid_t sh_ntfork(Shell_t *shp,const Shnode_t *t,char *argv[],int *jobid,int flag) in sh_ntfork() argument
3081 if(jobid) in sh_ntfork()
3082 *jobid = savejobid; in sh_ntfork()
3105 _sh_fork(spawnpid,otype,jobid); in sh_ntfork()
3256 _sh_fork(spawnpid,otype,jobid); in sh_ntfork()
3268 savejobid = *jobid; in sh_ntfork()