(PHP 4 = 4.1.0)
The pcntl_signal() function installs a new signal handler for the signal indicated by signo. The signal handler is set to handler which may be the name of a user created function, or either of the two global constants SIG_IGN or SIG_DFL.
pcntl_signal() returns TRUE on success or FALSE on failure.
例 1 pcntl_signal() Example
pcntl_fork() および pcntl_waitpid() も参照下さい。