rustix::fs::inotify

Function inotify_init

source
pub fn inotify_init(flags: CreateFlags) -> Result<OwnedFd>
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.