Lines Matching refs:wstat
42 # define WIFCONTINUED(wstat) (0) argument
251 int nochild=0, oerrno, wstat; in job_reap() local
280 pid = waitpid((pid_t)-1,&wstat,flags); in job_reap()
289 pid = waitpid((pid_t)-1,&wstat,flags&=~WCONTINUED); in job_reap()
304 if (WIFCONTINUED(wstat) && wcontinued) in job_reap()
316 if(jp && WIFSTOPPED(wstat)) in job_reap()
325 if(WIFSTOPPED(wstat)) in job_reap()
335 pw->p_exit = WSTOPSIG(wstat); in job_reap()
340 else if (WIFCONTINUED(wstat) && wcontinued) in job_reap()
357 if (WIFSIGNALED(wstat)) in job_reap()
360 if (WTERMCORE(wstat)) in job_reap()
362 pw->p_exit = WTERMSIG(wstat); in job_reap()
378 if(WEXITSTATUS(wstat) > pw->p_exitmin) in job_reap()
379 pw->p_exit = WEXITSTATUS(wstat); in job_reap()
407 … status=%x exit=%d\n",__LINE__,getpid(),job.in_critical,pw->p_job,pid,pw->p_flag,wstat,pw->p_exit); in job_reap()