|
ginnOS
The reference: libc, the libraries and the kernel
|
Go to the source code of this file.
Macros | |
| #define | WAIT_STATUS_EXITED(code) |
| the status word waitpid reports for a child, encoded as on other Unix systems (the libc's <sys/wait.h> decodes it): exited with code c: (c & 0xff) << 8 killed by signal s: s (bits 0-6) stopped by signal s: (s << 8) | 0x7f continued: 0xffff | |
| #define | WAIT_STATUS_SIGNALED(sig) |
| #define | WAIT_STATUS_STOPPED(sig) |
| #define | WAIT_STATUS_CONTINUED 0xffff |
| #define | WNOHANG 1 |
| #define | WUNTRACED 2 |
| #define | WCONTINUED 8 |
| #define WAIT_STATUS_EXITED | ( | code | ) |
the status word waitpid reports for a child, encoded as on other Unix systems (the libc's <sys/wait.h> decodes it): exited with code c: (c & 0xff) << 8 killed by signal s: s (bits 0-6) stopped by signal s: (s << 8) | 0x7f continued: 0xffff
| #define WAIT_STATUS_SIGNALED | ( | sig | ) |
| #define WAIT_STATUS_STOPPED | ( | sig | ) |
| #define WAIT_STATUS_CONTINUED 0xffff |
| #define WNOHANG 1 |
| #define WUNTRACED 2 |
| #define WCONTINUED 8 |