Function inotify_sys::inotify_init
source · pub unsafe extern "C" fn inotify_init() -> c_int
Expand description
Creates an inotify instance
If you need more flexibility, consider using inotify_init1
instead.
Returns -1
, if an error occured, or an inotify file descriptor
otherwise.
Please refer to the man page for additional details.