update : 2015.11.03
php.shukuma.com

검색:
 
 
Send a signal to a process

posix_kill

(PHP 4, PHP 5)

posix_killSend a signal to a process

설명

bool posix_kill ( int $pid , int $sig )

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.