Searched refs:child_status (Results 1 – 2 of 2) sorted by relevance
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()