Pike v8.0 release 1738

Module System.Inotify

Description

This module implements an API to linux inotify. It is available on all kernels from version 2.6.13 onwards. Inotify offers fast and scalable file notifications.


Constant IN_ACCESS
Constant IN_ATTRIB
Constant IN_CLOSE
Constant IN_CLOSE_WRITE
Constant IN_CLOSE_NOWRITE
Constant IN_CREATE
Constant IN_DELETE
Constant IN_DELETE_SELF
Constant IN_MODIFY
Constant IN_MOVE_SELF
Constant IN_MOVED_FROM
Constant IN_MOVED_TO
Constant IN_OPEN
Constant IN_MOVE
Constant IN_DONT_FOLLOW
Constant IN_MASK_ADD
Constant IN_ONESHOT
Constant IN_ONLYDIR
Constant IN_IGNORED
Constant IN_ISDIR
Constant IN_Q_OVERFLOW
Constant IN_UNMOUNT

constant System.Inotify.IN_ACCESS
constant System.Inotify.IN_ATTRIB
constant System.Inotify.IN_CLOSE
constant System.Inotify.IN_CLOSE_WRITE
constant System.Inotify.IN_CLOSE_NOWRITE
constant System.Inotify.IN_CREATE
constant System.Inotify.IN_DELETE
constant System.Inotify.IN_DELETE_SELF
constant System.Inotify.IN_MODIFY
constant System.Inotify.IN_MOVE_SELF
constant System.Inotify.IN_MOVED_FROM
constant System.Inotify.IN_MOVED_TO
constant System.Inotify.IN_OPEN
constant System.Inotify.IN_MOVE
constant System.Inotify.IN_CLOSE
constant System.Inotify.IN_DONT_FOLLOW
constant System.Inotify.IN_MASK_ADD
constant System.Inotify.IN_ONESHOT
constant System.Inotify.IN_ONLYDIR
constant System.Inotify.IN_IGNORED
constant System.Inotify.IN_ISDIR
constant System.Inotify.IN_Q_OVERFLOW
constant System.Inotify.IN_UNMOUNT

Description

Please have a look at the inotify(7) manpage for information about these constants.

Note

Some constants may not be available when the module has been compiled on a machine with linux kernel before 2.6.15. See the manpage for more details.


Constant IN_ALL_EVENTS

constant System.Inotify.IN_ALL_EVENTS

Description

This is a derived constant that is not part of the standard inotify API. It is the union of all other constants.