Lines Matching defs:status
28 * otherwise exit() status of process is returned
40 int status = -1;
61 while ((pid = waitpid(p->pid, &status, flags)) == -1 && errno == EINTR);
63 status = 0;
85 status = status == -1 ?
87 WIFSIGNALED(status) ?
88 EXIT_TERM(WTERMSIG(status)) :
89 EXIT_CODE(WEXITSTATUS(status));
93 status = errno == ENOENT ? EXIT_NOTFOUND : EXIT_NOEXEC;
94 return status;