/* sys/wait.h: Functions for waiting. */ #ifndef _SYS_WAIT_H #define _SYS_WAIT_H #include #include #ifdef __cplusplus extern "C" { #endif /* Wait for a child process to exit. */ pid_t waitpid(pid_t pid, int* status, int options); /* Wait for any child process to exit. */ pid_t wait(int* status); #ifdef __cplusplus } #endif #endif