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() が正常にコールされた際に得られます。

戻り値

シグナル番号を返します。 この機能を OS がサポートしていない場合、false を返します。

参考

  • pcntl_waitpid() - 待つかフォークした子プロセスのステータスを返す
  • pcntl_wifstopped() - 子プロセスが現在停止しているかどうかを調べる

add a note

User Contributed Notes

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