Lines Matching defs:status
128 int status;
134 while((ret = waitpid(pid, &status, 0)) != pid) {
140 if (WIFSIGNALED(status)) {
141 assert(WTERMSIG(status) != 0);
144 (WTERMSIG(status) == SIGSEGV ||
145 WTERMSIG(status) == SIGBUS))
149 WTERMSIG(status));
150 } else if (WIFEXITED(status)) {
151 if (WEXITSTATUS(status) == 0) {
157 printf("exited with unexpected status %d\n",
158 WEXITSTATUS(status));
160 printf("strange status %x?\n", status);