pub fn init(flags: CreateFlags) -> Result<OwnedFd>
Available on crate feature
fs
only.Expand description
inotify_init1(flags)
—Creates a new inotify object.
Use the CreateFlags::CLOEXEC
flag to prevent the resulting file
descriptor from being implicitly passed across exec
boundaries.