Lines Matching refs:status
30 int status;
72 status = 0xAAAA;
73 if (wait(&status) != -1) { // Wait for child
74 if (WIFEXITED(status)) {
75 if (WEXITSTATUS(status) != 0) {
77 WEXITSTATUS(status));
79 return WEXITSTATUS(status);
80 } else if (WIFSIGNALED(status))
82 WTERMSIG(status));
83 else if (WIFSTOPPED(status))
85 WSTOPSIG(status));