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.
pcntl_fork()
および
pcntl_waitpid()
も参照下さい。