pcntl_wifexited

(PHP 4 >= 4.1.0, PHP 5)

pcntl_wifexited -- Checks if status code represents a normal exit

Descrição

bool pcntl_wifexited ( int status )

Checks wether the child status code represents a normal exit.

Parâmetros

status

O parâmetro status é o parâmetro de status fornecido por uma chamada concluída a pcntl_waitpid().

Valores de retornado

Returns TRUE if the child status code represents a normal exit, FALSE otherwise.

Veja também

pcntl_waitpid()
pcntl_wexitstatus()