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().