Lines Matching defs:status
28 * otherwise exit() status of process is returned
38 int status = -1;
47 status = 0;
63 while ((pid = waitpid(p->pid, &status, flags)) == -1 && errno == EINTR);
65 status = 0;
87 status = status == -1 ?
89 WIFSIGNALED(status) ?
90 EXIT_TERM(WTERMSIG(status)) :
91 EXIT_CODE(WEXITSTATUS(status));
96 status = errno == ENOENT ? EXIT_NOTFOUND : EXIT_NOEXEC;
97 return status;