Forum und email

pcntl_wexitstatus

(PHP 4 >= 4.0.7, PHP 5)

pcntl_wexitstatus — Returns the return code of a terminated child

Descripción

int pcntl_wexitstatus ( int $status )

Returns the return code of a terminated child. This function is only useful if pcntl_wifexited() returned TRUE.

Lista de parámetros

status

El parametro status es un parametro de estado enviado a una llamada con exito de pcntl_waitpid().

Valores retornados

Returns the return code, as an integer.