POSIX_KILL(3) 1 POSIX_KILL(3)
posix_kill - Send a signal to a process
SYNOPSIS
bool posix_kill (int $pid, int $sig)
DESCRIPTION
Send the signal $sig to the process with the process identifier $pid.
PARAMETERS
o $pid
- The process identifier.
o $sig
- One of the PCNTL signals constants.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
The kill(2) manual page of the POSIX system, which contains additional information about negative process identifiers, the special pid 0,
the special pid -1, and the signal number 0. .
PHP Documentation Group POSIX_KILL(3)