pcntl_wexitstatus
(PHP 4 >= 4.1.0, 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.
Vedere anche:
- pcntl_waitpid() - Waits on or returns the status of a forked child
- pcntl_wifexited() - Checks if status code represents a normal exit
There are no user contributed notes for this page.
