Search Results
pcntl_wstopsig (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) pcntl_wstopsig — Returns the signal which caused the child to stop
Execute pcntl_wstopsig Online. Info and examples on pcntl_wstopsig PHP Function from Process Control - Process Control Extensions
Simple usage example of `pcntl_wstopsig ()`. The `pcntl_wstopsig` function is used in PHP to return the signal that caused a child process to stop. This function is particularly useful in scenarios where multiple child processes are being managed, and it helps in identifying the specific signal that caused a particular child process to stop.
Description The pcntl_wstopsig of PCNTL for PHP returns the signal which caused the child to stop.
Description Returns the number of the signal which caused the child to stop. This function is only useful if pcntl_wifstopped () returned TRUE .
Returns the number of the signal which caused the child to stop. This function is only useful if pcntl_wifstopped () returned TRUE.
This documentation is intended to explain the general usage of each of the Process Control functions. For detailed information about Unix process control you are encouraged to consult your systems documentation including fork (2), waitpid (2) and signal (2) or a comprehensive reference such as Advanced Programming in the UNIX Environment by W. Richard Stevens (Addison-Wesley).
