CakeFest 2024: The Official CakePHP Conference

pcntl_wifstopped

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

pcntl_wifstopped子プロセスが現在停止しているかどうかを調べる

説明

pcntl_wifstopped(int $status): bool

リターンを生じた子プロセスが現在停止しているかどうかを調べます。 この関数は、pcntl_waitpid() のコールが オプション WUNTRACED を用いている場合のみ使用可能です。

パラメータ

status

パラメータ status は、 pcntl_waitpid() が正常にコールされた際に得られます。

戻り値

リターンを生じた子プロセスが現在停止している場合に true、 それ以外の場合に false を返します。

参考

  • pcntl_waitpid() - 待つかフォークした子プロセスのステータスを返す

add a note

User Contributed Notes

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