sys_inotify_init  [fs/inotify.c]


Initializes a new inotify instance and returns a file descriptor associated with a new inotify event queue.

Arguments

eax 291

Return values

If the system call succeeds the return value is a new file descriptor.
If the system call fails the return value is one of the following errno values:

-EMFILE The user limit on the total number of inotify instances has been reached.
-ENFILE The system limit on the total number of file descriptors has been reached.
-ENOMEM Insufficient kernel memory is available.

Remarks

n/a

Compatibility

Available since 2.6.13