Lines Matching refs:status
31 int status;
73 status = 0xAAAA;
74 if (wait(&status) != -1) { // Wait for child
75 if (WIFEXITED(status)) {
76 if (WEXITSTATUS(status) != 0) {
78 WEXITSTATUS(status));
80 return WEXITSTATUS(status);
81 } else if (WIFSIGNALED(status))
83 WTERMSIG(status));
84 else if (WIFSTOPPED(status))
86 WSTOPSIG(status));