inotify_read
(PECL inotify >= 0.1.2)
inotify_read — Read events from an inotify instance
Açıklama
array inotify_read
( resource
$inotify_instance
)Read inotify events from an inotify instance.
Dönen Değerler
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_FROMandIN_MOVE_TO) - name is the name of a file (e.g. if a file was modified in a watched directory)
Ayrıca Bakınız
- inotify_init() - Initialize an inotify instance
- stream_select() - Belirtilen akım dizisi üzerinde belirtilen zaman aşımı ile select() sistem çağrısının eşdeğeri olarak çalışır
- stream_set_blocking() - Akımın engelleme kipini ayarlar
- inotify_queue_len() - Return a number upper than zero if there are pending events
There are no user contributed notes for this page.
