fam_monitor_file
<<<
fam_next_event fam_open
>>>

7.27 File alteration monitor functions
7 Index des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
Configuration à l'exécution
Types de ressources
Constantes prédefinies
fam_cancel_monitor
fam_close
fam_monitor_collection
fam_monitor_directory
fam_monitor_file
->fam_next_event
fam_open
fam_pending
fam_resume_monitor
fam_suspend_monitor

7.27.12 fam_next_event()...

[ Exemples avec fam_next_event ]   PHP 5 CVS only

array  fam_next_event ( resource   fam )

fam_next_event returns the next pending FAM event. The function will block until an event is available which can be checked for using fam_pending .

fam_ext_event will return an array that contains a FAM event code in element ' code ', the path of the file this event applies to in element ' filename ' and optionaly a hostname in element ' hostname '.

The possible event codes are described in detail in the introduction part of this section.

See also fam_pending .

<< fam_next_event >>
fam_monitor_file File alteration monitor functions fam_open