posix_kill

(PHP 4, PHP 5, PHP 7)

posix_killSend a signal to a process

说锟斤拷

posix_kill ( int $pid , int $sig ) : bool

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

锟斤拷锟斤拷

pid

The process identifier.

sig

One of the PCNTL signals constants.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟轿硷拷

  • 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.