pcntl_wstopsig
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
pcntl_wstopsig — 返回導致子程序停止的訊號
參數
-
status 參數
status是提供給成功呼叫 pcntl_waitpid() 時的狀態參數。
返回值
返回訊號編號。
參見
- pcntl_waitpid() - 等待或返回fork的子程序狀態
- pcntl_wifstopped() - 檢查子程序目前是否已經停止
Template Website
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
pcntl_wstopsig — 返回導致子程序停止的訊號
status參數 status 是提供給成功呼叫 pcntl_waitpid() 時的狀態參數。
返回訊號編號。