Function inotify_sys::inotify_rm_watch
source · pub unsafe extern "C" fn inotify_rm_watch(
fd: c_int,
wd: c_int
) -> c_int
Expand description
Removes an inotify watch
Removes an item from the watch list of an inotify instance. The inotify
instance is identified by the fd
argument. The watch is identified by
the wd
argument.
Returns 0
on success, -1
on failure.
Please refer to the man page for additional details.