PCNTL_WTERMSIG(3) 1 PCNTL_WTERMSIG(3)
pcntl_wtermsig - Returns the signal which caused the child to terminate
SYNOPSIS
int pcntl_wtermsig (int $status)
DESCRIPTION
Returns the number of the signal that caused the child process to terminate. This function is only useful if pcntl_wifsignaled(3) returned
TRUE.
PARAMETERS
o $status
-The $status parameter is the status parameter supplied to a successful call to pcntl_waitpid(3).
RETURN VALUES
Returns the signal number, as an integer.
SEE ALSO
pcntl_waitpid(3), pcntl_signal(3), pcntl_wifsignaled(3).
PHP Documentation Group PCNTL_WTERMSIG(3)