CakeFest 2024: The Official CakePHP Conference

pcntl_wstopsig

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

pcntl_wstopsig返回导致子进程停止的信号

说明

pcntl_wstopsig(int $status): int|false

返回导致子进程停止的信号编号。这个函数仅在 pcntl_wifstopped() 返回 true 时有效。

参数

status

参数 status 是提供给成功调用 pcntl_waitpid() 时的状态参数。

返回值

返回信号编号。如果操作系统不支持该功能,将返回 false

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top