PHP Doku:: Get next pending FAM event - function.fam-next-event.html

Verlauf / Chronik / History: (27) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteFile Alteration MonitorFAM Funktionenfam_next_event

Ein Service von Reinhard Neidl - Webprogrammierung.

FAM Funktionen

<<fam_monitor_file

fam_open>>

fam_next_event

(PHP 5 <= 5.0.5)

fam_next_eventGet next pending FAM event

Beschreibung

array fam_next_event ( resource $fam )

Returns the next pending FAM event.

The function will block until an event is available which can be checked for using fam_pending().

Parameter-Liste

fam

A resource representing a connection to the FAM service returned by fam_open()

Rückgabewerte

Returns an array that contains a FAM event code in the 'code' element, the path of the file this event applies to in the 'filename' element and optionally a hostname in the 'hostname' element.

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

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)