Function inotify_sys::inotify_rm_watch[][src]

pub unsafe extern "C" fn inotify_rm_watch(fd: c_int, wd: c_int) -> c_int

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.