array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.pcntl-wstopsig.php', 1 => 'pcntl_wstopsig', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'PCNTL Funções', ), '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', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
pcntl_wstopsig — Returns the signal which caused the child to stop
Returns the number of the signal which caused the child to stop.
This function is only useful if
pcntl_wifstopped() returned true
.
status
O parâmetro status
é o parâmetro de status fornecido a uma chamada
bem sucedida a pcntl_waitpid().
Returns the signal number.
If the functionality is not supported by the OS, false
is returned.