Forum und email

pcntl_wifsignaled

(PHP 4 >= 4.0.7, PHP 5)

pcntl_wifsignaled — Checks whether the status code represents a termination due to a signal

說明

bool pcntl_wifsignaled ( int $status )

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

參數

status

status 參數是提供給成功呼叫的 pcntl_waitpid() 函式的狀態參數。

Return值

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