Searched refs:child_status (Results 1 – 6 of 6) sorted by relevance
95 int child_status = WEXITSTATUS(status); in main() local96 if (child_status != 0) in main()97 Panic("Child terminated with status=%d\n", child_status); in main()
109 int child_status = WEXITSTATUS(status); in main() local110 if (child_status != 0) in main()111 Panic("Child terminated with status=%d\n", child_status); in main()
298 int child_status; in opd_sigchild() local299 wait(&child_status); in opd_sigchild()301 if (WIFEXITED(child_status) && (!WEXITSTATUS(child_status))) { in opd_sigchild()305 WEXITSTATUS(child_status)); in opd_sigchild()
113 int child_status; in main() local116 wait_result = wait4(fork_result, &child_status, 0, 0); in main()
410 int child_status; in WaitForChild()411 waitpid(pid, &child_status, 0); // We hang here if the child doesn't exit. in WaitForChild()413 if (WIFSIGNALED(child_status)) { in WaitForChild()418 WTERMSIG(child_status)); in WaitForChild()422 if (WEXITSTATUS(child_status) != 0) { in WaitForChild()424 int exit_status = WEXITSTATUS(child_status); in WaitForChild()