Lines Matching +refs:val +refs:status
54 * status, have had $! saved, but haven't been waited for
287 pid_t val;
304 val = (csp->id<<16)|n|COPID_BIT;
310 if((cp && val==pw->p_pid) || (pw->p_cojob && pw->p_cojob->local==(void*)csp))
394 if(cjp->status < 256)
395 wstat = cjp->status <<8;
397 wstat = cjp->status-256;
541 sfprintf(sfstderr,"ksh: job line %4d: reap pid=%d critical=%d job %d with pid %d flags=%o complete with status=%x exit=%d\n",__LINE__,getpid(),job.in_critical,pw->p_job,pid,pw->p_flag,wstat,pw->p_exit);
1300 int val,bg=0;
1302 int val;
1326 val = pw->p_job;
1328 val = job.curjobid;
1330 if(val && (pw=job_byjid(val)) != job.pwlist)
1395 if ((val = job_chksave(pid))>=0 && !jobfork)
1397 pw->p_exit = val;
1516 /* check to see whether job status has been saved */
1812 /* save the exit status for background jobs */
1816 /* save status for future wait */
1935 * see whether exit status has been saved and delete it