pcntl_waitpid -- Waits on or returns the status of a forked child Descriptionint pcntl_waitpid ( int pid, int &status [, int options] ) The pcntl_waitpid() function suspends execution of the current process until a child as specified by the pid argument has exited, or until a signal ...
Descriptionint pcntl_wexitstatus ( int status ) Returns the return code of a terminated child. This function is only useful if pcntl_wifexited() returned TRUE. status 參數(shù)是提供給成功調用的 pcntl_waitpid() 函數(shù)的狀態(tài)參數(shù)。 See also pcntl_waitpid() and pcntl_wifexited(). 后退...