11111
pcntl_wait
WNOHANG | - Return immediately if no child has exited. |
WUNTRACED | - Return for children which are stopped, and whose status has not been reported. |
- pcntl_wait() will store status information in the status parameter which can be evaluated using the following functions: pcntl_wifexited(), pcntl_wifstopped(), pcntl_wifsignaled(), pcntl_wexitstatus(), pcntl_wtermsig() and pcntl_wstopsig(). Замечание: This function is equivalent to calling pcntl_waitpid() with a -1 pid and no options. - See also pcntl_fork(), pcntl_signal(), pcntl_wifexited(), pcntl_wifstopped(), pcntl_wifsignaled(), pcntl_wexitstatus(), pcntl_wtermsig(), pcntl_wstopsig() and pcntl_waitpid().
pcntl_signal
pcntl_waitpid
22222