Sommaire

Contrôle des processus

Exemple de contrôle de processus
pcntl_fork
pcntl_signal
pcntl_waitpid
pcntl_wexitstatus
pcntl_wifexited
pcntl_wifsignaled
pcntl_wifstopped
pcntl_wstopsig
pcntl_wtermsig

6.78.10 pcntl_wtermsig

PHP 4 >= 4.0.7RC1

Description

int pcntl_wtermsig(int status )

Returns the number of the signal that caused the child process to terminate. This function is only useful if pcntl_wifsignaled returned TRUE.

Le paramètre status est le paramètre fourni à la fonction pcntl_waitpid, qui avait réussi.

Voir aussi pcntl_waitpid, pcntl_signal et pcntl_wifsignaled.