pcntl_wifsignaled

(PHP 4 >= 4.1.0, PHP 5)

pcntl_wifsignaled --  Returns TRUE if status code represents a termination due to a signal

Description

bool pcntl_wifsignaled ( int status )

Returns TRUE if the child process exited because of a signal which was not caught.

status 参数是提供给成功调用的 pcntl_waitpid() 函数的状态参数。

See also pcntl_waitpid() and pcntl_signal().