inotify::ffi::IN_CLOEXEC [] [src]

pub const IN_CLOEXEC: c_int = 524288

Flag: Set the FD_CLOEXEC flag

The FD_CLOEXEC flag, or "close-on-exec", changes the behavior of file descriptor when execve(2)'d:

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.