Wait for a process to change status
Controls the behavior of waitpid.
waitpid
The ID argument for waitid
waitid
Possible return values from wait() or waitpid().
wait()
waitpid()
Wait for any child process to change status or a signal is received.