Constant inotify_sys::IN_CLOEXEC
source · pub const IN_CLOEXEC: c_int = libc::O_CLOEXEC; // 524_288i32
Expand description
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.