POSIX Functions
PHP Manual

posix_kill

(PHP 4, PHP 5, PHP 7)

posix_killSend a signal to a process

Description

bool posix_kill ( int $pid , int $sig )

Send the signal sig to the process with the process identifier pid.

Parameters

pid

The process identifier.

sig

One of the PCNTL signals constants.

Return Values

Returns TRUE on success or FALSE on failure.

See Also


POSIX Functions
PHP Manual