Searched refs:nfd (Results 1 – 2 of 2) sorted by relevance
72 unique_fd nfd(inotify_init1(IN_CLOEXEC)); in WatchPackageList() local73 if (nfd == -1) { in WatchPackageList()82 int ret = inotify_add_watch(nfd, PACKAGES_LIST_FILE, IN_DELETE_SELF); in WatchPackageList()101 ssize_t res = TEMP_FAILURE_RETRY(read(nfd, event_buf, sizeof(event_buf))); in WatchPackageList()
431 static int read_notify(const char *dirname, int nfd, int print_flags) in read_notify() argument441 res = read(nfd, event_buf, sizeof(event_buf)); in read_notify()