PCNTL
PHP Manual

pcntl_wexitstatus

(PHP 4 >= 4.0.7, PHP 5)

pcntl_wexitstatus — Returns the return code of a terminated child

Опи�ание

int pcntl_wexitstatus ( int $status )

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

Спи�ок параметров

status

Параметр status - �то переменна�, переданна� по ��ылке в функцию pcntl_waitpid().

Возвращаемые значени�

Returns the return code, as an integer.

Смотрите также


PCNTL
PHP Manual