PHP Doku:: Read events from an inotify instance - function.inotify-read.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDateisystemrelevante ErweiterungenInotifyInotify Funktioneninotify_read

Ein Service von Reinhard Neidl - Webprogrammierung.

Inotify Funktionen

<<inotify_queue_len

inotify_rm_watch>>

inotify_read

(PECL inotify >= 0.1.2)

inotify_readRead events from an inotify instance

Beschreibung

array inotify_read ( resource $inotify_instance )

Read inotify events from an inotify instance.

Parameter-Liste

inotify_instance

Von inotify_init() zurückgegebene Ressource

Rückgabewerte

An array of inotify events or FALSE if no events was pending and inotify_instance is non-blocking. Each event is an array with the following keys:

  • wd is a watch descriptor returned by inotify_add_watch()
  • mask is a bit mask of events
  • cookie is a unique id to connect related events (e.g. IN_MOVE_FROM and IN_MOVE_TO)
  • name is the name of a file (e.g. if a file was modified in a watched directory)

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",...)