|
ArvernOS
|
#include <sys/types.h>Macros | |
| #define | WAIT_ANY (-1) |
| Wait for any child process. | |
Functions | |
| pid_t | waitpid (pid_t pid, int *status) |
| pid_t waitpid | ( | pid_t | pid, |
| int * | status ) |
Waits for a child process to change state.
| pid | the child to wait for (WAIT_ANY for any child) |
| status | where to store the child exit status (may be NULL) |