Provided by: manpages-dev_2.77-1_all
inotify_init - initialize an inotify instance
inotify_init() initializes a new inotify instance and returns a file
descriptor associated with a new inotify event queue.
On success, inotify_init() returns a new file descriptor, or -1 if an
error occurred (in which case, errno is set appropriately).
EMFILE The user limit on the total number of inotify instances has been
ENFILE The system limit on the total number of file descriptors has
ENOMEM Insufficient kernel memory is available.
Inotify was merged into the 2.6.13 Linux kernel.
This system call is Linux-specific.
inotify_add_watch(2), inotify_rm_watch(2), inotify(7)
This page is part of release 2.77 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.