Function init
pub fn init(flags: CreateFlags) -> Result<OwnedFd, Errno> ⓘ
Available on crate feature
dep_rustix
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.