pcntl_wifsignaled

(PHP 4 >= 4.1.0, PHP 5)

pcntl_wifsignaled -- Checks wether the status code represents a termination due to a signal

说明

bool pcntl_wifsignaled ( int status )

Checks wether the child process exited because of a signal which was not caught.

参数

status

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

返回值

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

参见

pcntl_waitpid()
pcntl_signal()