Lines Matching refs:wstat
42 # define WIFCONTINUED(wstat) (0) argument
345 int nochild=0, oerrno, wstat; in job_reap() local
396 wstat = cjp->status <<8; in job_reap()
398 wstat = cjp->status-256; in job_reap()
407 pid = waitpid((pid_t)-1,&wstat,flags); in job_reap()
419 pid = waitpid((pid_t)-1,&wstat,flags&=~WCONTINUED); in job_reap()
428 if(wstat==0) in job_reap()
439 if (WIFCONTINUED(wstat) && wcontinued) in job_reap()
451 if(jp && WIFSTOPPED(wstat)) in job_reap()
460 if (WIFCONTINUED(wstat) && wcontinued) in job_reap()
462 else if(WIFSTOPPED(wstat)) in job_reap()
465 pw->p_exit = WSTOPSIG(wstat); in job_reap()
492 if (WIFSIGNALED(wstat)) in job_reap()
495 if (WTERMCORE(wstat)) in job_reap()
497 pw->p_exit = WTERMSIG(wstat); in job_reap()
513 if(WEXITSTATUS(wstat) > pw->p_exitmin) in job_reap()
514 pw->p_exit = WEXITSTATUS(wstat); in job_reap()
542 … status=%x exit=%d\n",__LINE__,getpid(),job.in_critical,pw->p_job,pid,pw->p_flag,wstat,pw->p_exit); in job_reap()