Searched refs:status (Results 1 – 1 of 1) sorted by relevance
70 int status; in main() local71 wait (&status); in main()72 if (WIFEXITED (status) && WEXITSTATUS (status) != 0) in main()74 printf ("child exited with %d\n", WEXITSTATUS (status)); in main()77 else if (WIFSIGNALED (status)) in main()79 printf ("child killed by signal %d\n", WTERMSIG (status)); in main()
Completed in 4 milliseconds