Module lrs::inotify::flags

Constants

NameDescription
INOTIFY_CLOSE_ON_EXEC

Close the file descriptor when exec is called.

INOTIFY_DONT_BLOCK

Don't block when reading from the returned file descriptor.

INOTIFY_NONE

Dummy flag with all flags unset.

WATCH_DONT_FOLLOW_LINKS

Don't follow symlinks when adding the watch.

WATCH_NONE

Dummy flag with all flags unset.

WATCH_NO_UNLINKED

Don't generate events for unlinked children.

WATCH_ONE_SHOT

Remove the watch after the first event has been generated.

WATCH_ONLY_DIRECTORY

Only add the watch if the path refers to a directory.

WATCH_OR_EVENTS

If a watch already exists, extend the watched events by OR-ing the masks.