Lines Matching defs:status
31 int status;
33 while ((ret = waitpid(pid, &status, 0)) != pid) {
40 if (WIFSIGNALED(status)) {
41 assert(WTERMSIG(status) != 0);
43 if (WTERMSIG(status) == SIGSEGV) {
47 WTERMSIG(status));
49 } else if (WIFEXITED(status)) {
50 if (WEXITSTATUS(status) == 0) {
54 fprintf(stderr, "Child process exited with unexpected status %d.\n",
55 WEXITSTATUS(status));
58 fprintf(stderr, "Unrecognized status of child proces %x?\n", status);