inotify_read
(No version information available, might be only in CVS)
inotify_read — Read events from an inotify instance
説明
array inotify_read
( resource $inotify_instance
)
Read inotify events from an inotify instance.
返り値
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)
参考
- inotify_init() - Initialize an inotify instance
- stream_select() - select() システムコールと同等の操作を、 ストリームの配列に対して tv_sec と tv_usec で指定されたタイムアウト時間をもって行う
- stream_set_blocking() - ストリームのブロックモードを有効にする / 解除する
- inotify_queue_len() - Return a number upper than zero if there are pending events
inotify_read
There are no user contributed notes for this page.
