Function inotify_sys::inotify_init1
source · pub unsafe extern "C" fn inotify_init1(flags: c_int) -> c_int
Expand description
Creates an inotify instance
Takes an argument to configure the new inotify instance. The following flags can be set:
Returns -1
, if an error occured, or an inotify file descriptor
otherwise.
Please refer to the man page for additional details.