#include <sys/cdefs.h>
Go to the source code of this file.
◆ _WSTATUS
#define _WSTATUS |
( |
|
_x | ) |
((_x & 0x0000ff00) >> 8) |
Definition at line 9 of file wait.h.
◆ WAIT_ANY
◆ WEXITSTATUS
#define WEXITSTATUS |
( |
|
_x | ) |
(_x & 0x000000ff) |
Definition at line 8 of file wait.h.
◆ WGETPID
#define WGETPID |
( |
|
_x | ) |
((pid_t)(_x >> 16)) |
◆ WIFEXITED
#define WIFEXITED |
( |
|
_x | ) |
(_WSTATUS(_x) == 0) |
◆ wait()
pid_t wait |
( |
int * |
status | ) |
|
Definition at line 49 of file process.c.
50{
52}
pid_t waitpid(pid_t pid, int *status, UNUSED int options)
◆ waitpid()
pid_t waitpid |
( |
pid_t |
pid, |
|
|
int * |
status, |
|
|
int |
options |
|
) |
| |