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

search for in the

fam_open> <fam_monitor_file
[edit] Last updated: Wed, 22 May 2013

view this page in

fam_next_event

(PHP 5 <= 5.0.5)

fam_next_event次の待機中の FAM イベントを返す

説明

array fam_next_event ( resource $fam )

次の待機中の FAM イベントを返します。

この関数は、 fam_pending() を用いてチェックできる イベントが検出されるまでブロックします。

パラメータ

fam

fam_open() が返す、 FAM サービスへの接続を表すリソース。

返り値

FAM イベントコードを要素 'code' に、このイベントが適用されるファイルのパスを 要素 'filename' に、 オプションでホスト名を要素 'hostname' に 含む配列を返します。

発生しうるイベントコードの詳細は、このセクションの 定数 の欄にあります。

参考

  • fam_pending() - 待機中の FAM イベントの有無を調べる



add a note add a note User Contributed Notes fam_next_event - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites