API published in:
API deprecated in:
#include <sys/cdefs.h>
#include <sys/types.h>
Go to the source code of this file.
Defines |
|
| #define | _W_INT(i) (i) |
| #define | _WSTATUS(x) (_W_INT(x) & 0177) |
| #define | _WSTOPPED 0177 |
| #define | WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED) |
| #define | WSTOPSIG(x) (_W_INT(x) >> 8) |
| #define | WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0) |
| #define | WTERMSIG(x) (_WSTATUS(x)) |
| #define | WIFEXITED(x) (_WSTATUS(x) == 0) |
| #define | WEXITSTATUS(x) (_W_INT(x) >> 8) |
| #define | WIFCONTINUED(x) (x == 0x13) |
| #define | WNOHANG 1 |
| #define | WUNTRACED 2 |
| #define | WCONTINUED 4 |
Functions |
|
| __BEGIN_DECLS IMPORT_C pid_t | wait (int *) |
| IMPORT_C pid_t | waitpid (pid_t, int *, int) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||