pcntl_wifstopped
Description
The pcntl_wifstopped of PCNTL for PHP checks whether the child process is currently stopped.
Syntax
pcntl_wifstopped( int $status ): bool
Parameters
status
The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
Return
Returns true if the child process which caused the return is currently stopped, false otherwise.
Examples
1 · status
<? $process_id = 0; pcntl_waitpid($process_id, $status); $return = pcntl_wifstopped($status); var_export($return); ?>
false
Links
Related
PCNTL
- pcntl_alarm
- pcntl_async_signals
- pcntl_errno
- pcntl_exec
- pcntl_fork
- pcntl_get_last_error
- pcntl_getpriority
- pcntl_rfork
- pcntl_setpriority
- pcntl_signal
- pcntl_signal_dispatch
- pcntl_signal_get_handler
- pcntl_sigprocmask
- pcntl_sigtimedwait
- pcntl_sigwaitinfo
- pcntl_strerror
- pcntl_unshare
- pcntl_wait
- pcntl_waitpid
- pcntl_wexitstatus
- pcntl_wifexited
- pcntl_wifsignaled
- pcntl_wstopsig
- pcntl_wtermsig