inotify_rm_watch> <inotify_queue_len
Last updated: Fri, 24 Feb 2012

inotify_read

(PECL inotify >= 0.1.2)

inotify_readRead events from an inotify instance

Descrição

array inotify_read ( resource $inotify_instance )

Read inotify events from an inotify instance.

Parâmetros

inotify_instance

Resource retornado pela inotify_init()

Valor Retornado

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)

Veja Também



User Contributed Notes
inotify_read
There are no user contributed notes for this page.

inotify_rm_watch> <inotify_queue_len
Last updated: Fri, 24 Feb 2012