PHP 8.3.4 Released!

pcntl_wtermsig

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

pcntl_wtermsig返回导致子进程中断的信号

说明

pcntl_wtermsig(int $status): int|false

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

参数

status

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

返回值

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

参见

add a note

User Contributed Notes

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