Searched refs:i_fd (Results 1 – 1 of 1) sorted by relevance
87 int i_fd; /* for inotify, to detect file changes */ variable185 i_fd = inotify_init(); in WarnOpenInput()186 if (i_fd < 0) in WarnOpenInput()188 if (inotify_add_watch(i_fd, path, IN_MODIFY | IN_MOVE_SELF) < 0) in WarnOpenInput()233 int n = read(i_fd, &event, sizeof(event)); in WarnInput()