Lines Matching refs:status
70 int status;
93 /* Parent: wait for & check child's exit status. */
94 rc = waitpid(child, &status, 0);
99 if (!WIFEXITED(status)) {
100 printf("[FAIL] (child %d did not exit cleanly, status=%08x)\n",
101 child, status);
104 if ((WEXITSTATUS(status) != expected_rc) &&
105 (WEXITSTATUS(status) != expected_rc2)) {
107 child, WEXITSTATUS(status), expected_rc, expected_rc2);
211 * the exit status shall be 127."), but some systems give 126 (POSIX:
213 * the exit status shall be 126."), so allow either.