[][src]Constant inotify_sys::IN_CLOEXEC

pub const IN_CLOEXEC: c_int

Set the FD_CLOEXEC flag for an inotify instance

Can be passed to inotify_init1 to set the FD_CLOEXEC flag for the inotify instance. This changes the behavior of file descriptor when execve(2)'d. From fcntl(2):

If the FD_CLOEXEC bit is 0, the file descriptor will remain open across an execve(2), otherwise it will be closed.

See open(2) and fcntl(2) for details.