Returns the signal which caused the child to stop

# pcntl_wstopsig

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

pcntl_wstopsig — Returns the signal which caused the child to stop

### Descrierea

pcntl_wstopsig ( int `$status` ) : int

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

### Parametri

`status`

  Parametrul `status` reprezintă parametrul de stare furnizat către un apel cu succes al funcției pcntl_waitpid().

### Valorile întoarse

Returns the signal number.

### A se vedea și

- pcntl_waitpid() - Waits on or returns the status of a forked child
- pcntl_wifstopped() - Checks whether the child process is currently stopped