Lines Matching refs:wstatus
612 int p[2], retcode, stopped, wstatus, wstatus_set;
791 wait3(&wstatus, WUNTRACED, 0)) > 0 && wpid != of_pid)
797 else if (!WIFSTOPPED(wstatus)) {
801 pp->printer, of_pid, WEXITSTATUS(wstatus),
802 WTERMSIG(wstatus));
828 while ((wpid = wait(&wstatus)) > 0 && wpid != child)
837 retcode = WEXITSTATUS(wstatus);
857 if (wstatus_set && !WIFEXITED(wstatus)) {
859 pp->printer, format, WTERMSIG(wstatus));
1342 int errfd, retcode, wstatus;
1356 while ((wpid = wait(&wstatus)) > 0 &&
1365 retcode = WEXITSTATUS(wstatus);