Lines Matching refs:status
211 const char *reasonChildExited(int status)
215 if (WIFEXITED(status))
217 snprintf(buffer, sizeof(buffer), "ok (%d)", WEXITSTATUS(status));
219 else if (WIFSIGNALED(status))
221 snprintf(buffer, sizeof(buffer), "signaled (%d %s)", WTERMSIG(status), strsignal(WTERMSIG(status)));
366 int status;
367 pid_t pid = wait(&status);
374 if (!WIFEXITED(status))
377 pid, reasonChildExited(status));