Home
last modified time | relevance | path

Searched refs:child_exit_status (Results 1 – 1 of 1) sorted by relevance

/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c201 int child_exit_status; in main() local
323 while (waitpid(child_pid, &child_exit_status, 0) < 0) in main()
399 if (!done && waitpid(child_pid, &child_exit_status, WNOHANG) > 0) in main()
412 if (WIFEXITED(child_exit_status)) in main()
413 exit(WEXITSTATUS(child_exit_status)); in main()
414 else if (WIFSIGNALED(child_exit_status)) in main()
415 exit(128 + WTERMSIG(child_exit_status)); in main()