Home | History | Annotate | Download | only in inotify

Lines Matching refs:fd_notify

60 static int fd, fd_notify, reap_wd;
144 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) {
147 fd_notify, EVENT_BUF_LEN);
237 if ((fd_notify = myinotify_init()) < 0) {
247 if ((wd = myinotify_add_watch(fd_notify, ".", IN_ALL_EVENTS)) < 0) {
250 fd_notify);
257 if (reap_wd && myinotify_rm_watch(fd_notify, wd) < 0) {
259 "inotify_rm_watch (%d, %d) failed,", fd_notify, wd);
263 if (fd_notify > 0)
264 SAFE_CLOSE(fd_notify);