IN_CLOSE_NOWRITE
case IN_CLOSE_NOWRITE:
_Static_assert(LINUX_IN_CLOSE_NOWRITE == IN_CLOSE_NOWRITE,
IN_CLOSE_WRITE : IN_CLOSE_NOWRITE);
#define IN_CLOSE (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE)
case IN_CLOSE_NOWRITE:
wd1 = watch_dir(ifd, IN_CLOSE_NOWRITE, dir);
wd2 = watch_file(ifd, IN_CLOSE_NOWRITE | IN_CLOSE_WRITE, file);
consume_event(ifd, wd1, IN_CLOSE_NOWRITE, IN_ISDIR, NULL);
consume_event(ifd, wd2, IN_CLOSE_NOWRITE, 0, NULL);
consume_event(ifd, wd1, IN_CLOSE_NOWRITE, 0, "file");
wd = watch_file(ifd, IN_CLOSE_NOWRITE | IN_CLOSE_WRITE, path);