Forum und email

pcntl_wexitstatus

(PHP 4 >= 4.0.7, PHP 5)

pcntl_wexitstatus — Returns the return code of a terminated child

Descrizione

int pcntl_wexitstatus ( int $status )

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

Elenco dei parametri

status

Il parametro status è il parametro di stato fornito ad una chiamata riuscita a pcntl_waitpid().

Valori restituiti

Returns the return code, as an integer.