IN_CLOEXEC
#if defined IN_CLOEXEC && defined IN_NONBLOCK
int fd = inotify_init1 (IN_CLOEXEC | IN_NONBLOCK);
flags |= IN_CLOEXEC;
if ((flags & ~(IN_NONBLOCK | IN_CLOEXEC)) != 0)
if ((flags & IN_CLOEXEC) != 0)