array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.pcntl-wstopsig.php', 1 => 'pcntl_wstopsig', 2 => 'Returns the signal which caused the child to stop', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'Функції PCNTL', ), 'prev' => array ( 0 => 'function.pcntl-wifstopped.php', 1 => 'pcntl_wifstopped', ), 'next' => array ( 0 => 'function.pcntl-wtermsig.php', 1 => 'pcntl_wtermsig', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pcntl/functions/pcntl-wstopsig.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

pcntl_wstopsig

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

pcntl_wstopsigReturns the signal which caused the child to stop

Опис

pcntl_wstopsig(int $status): int|false

Returns the number of the signal which caused the child to stop. This function is only useful if pcntl_wifstopped() returned true.

Параметри

status

Параметр status записується у разі успішного виклику pcntl_waitpid().

Значення, що повертаються

Returns the signal number. If the functionality is not supported by the OS, false is returned.

Прогляньте також