Lines Matching refs:status
45 " fault address is set to the status of wait()\n");
49 int status;
94 status = 0xAAAA;
95 if (wait(&status) != -1) { // Wait for child
96 if (WIFEXITED(status) && WEXITSTATUS(status))
98 WEXITSTATUS(status));
99 else if (WIFSIGNALED(status))
101 WTERMSIG(status));
102 else if (WIFSTOPPED(status))
104 WSTOPSIG(status));
109 *(int *)status = 0; // causes SIGSEGV with fault_address = status