Lines Matching defs:status
49 #define WAIT_STATUS_UNKNOWN (-1) // unknown child status
92 int status;
94 pid_t pid = wait(&status);
97 // Extract real status.
98 if (WIFEXITED(status)) {
99 status = WEXITSTATUS(status);
100 } else if (WIFSIGNALED(status)) {
101 status = WTERMSIG(status);
102 } else if (WIFSTOPPED(status)) {
103 status = WSTOPSIG(status);
105 status = WAIT_STATUS_UNKNOWN;
121 status = WAIT_STATUS_NO_CHILDREN;
140 status = WAIT_STATUS_STRANGE_ERRNO;
146 (*env)->CallVoidMethod(env, o, onExitMethod, pid, status);
197 // Create 4 pipes: stdin, stdout, stderr, and an exec() status pipe.
279 // Check status pipe for an error code. If execvp() succeeds, the other