inotify_init(2) System Calls Manual inotify_init(2) inotify_init, inotify_init1 - inotify (libc -lc) #include int inotify_init(void); int inotify_init1(int flags); inotify inotify(7). inotify_init() inotify inotify . flags 0 inotify_init1() inotify_init(). OR flags : IN_NONBLOCK O_NONBLOCK ( open(2)) . fcntl(2) . IN_CLOEXEC (FD_CLOEXEC) . O_CLOEXEC open(2) . . -1 errno . EINVAL (inotify_init1()) flags. EMFILE inotify . EMFILE . ENFILE . ENOMEM . . inotify_init() 2.6.13 glibc 2.4. inotify_init1() 2.6.27 glibc 2.9. inotify_add_watch(2), inotify_rm_watch(2), inotify(7) 3 . . : . 6.18 8 2026 inotify_init(2)