downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

pcntl_wifexited> <pcntl_waitpid
Last updated: Fri, 13 Nov 2009

view this page in

pcntl_wexitstatus

(PHP 4 >= 4.1.0, PHP 5)

pcntl_wexitstatus終了した子プロセスのリターンコードを返す

説明

int pcntl_wexitstatus ( int $status )

終了した子プロセスのリターンコードを返します。この関数は、 pcntl_wifexited()TRUE を返す場合のみ 有用です。

パラメータ

status

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

返り値

リターンコードを表す整数値を返します。

参考

  • pcntl_waitpid() - 待つかフォークした子プロセスのステータスを返す
  • pcntl_wifexited() - ステータスコードが正常終了を表しているかどうかを調べる



add a note add a note User Contributed Notes
pcntl_wexitstatus
There are no user contributed notes for this page.

pcntl_wifexited> <pcntl_waitpid
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites