pcntl_wexitstatus(3) php man page | unix.com

Man Page: pcntl_wexitstatus

Operating Environment: php

Section: 3

PCNTL_WEXITSTATUS(3)							 1						      PCNTL_WEXITSTATUS(3)

pcntl_wexitstatus - Returns the return code of a terminated child

SYNOPSIS
int pcntl_wexitstatus (int $status)
DESCRIPTION
Returns the return code of a terminated child. This function is only useful if pcntl_wifexited(3) returned TRUE.
PARAMETERS
o $status -The $status parameter is the status parameter supplied to a successful call to pcntl_waitpid(3).
RETURN VALUES
Returns the return code, as an integer.
SEE ALSO
pcntl_waitpid(3), pcntl_wifexited(3). PHP Documentation Group PCNTL_WEXITSTATUS(3)
Related Man Pages
waitpid(2) - ultrix
wait(1) - netbsd
pcntl_wait(3) - php
fbsql_autocommit(3) - php
proc_get_status(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch