略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: pcntl_wtermsig

2024-03-29

pcntl_wtermsig

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

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

说明

pcntl_wtermsig(int $status): int

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

参数

status

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

返回值

返回整型的信号编号。

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.pcntl-wtermsig.php

冷却塔厂家 广告
-- 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3