Lines Matching refs:wstatus
208 int wstatus;
224 w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED);
229 if (WIFEXITED(wstatus)) {
230 if (WEXITSTATUS(wstatus) == EXIT_SUCCESS) {
243 } else if (WIFSIGNALED(wstatus)) {
244 if (WTERMSIG(wstatus) == 9) {
250 die("unexpected signal: %d\n", wstatus);
253 die("unexpected status: %d\n", wstatus);
255 } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));