pub fn inotify_remove_watch(inot: BorrowedFd<'_>, wd: i32) -> Result<()>
Available on crate feature fs only.
Expand description

inotify_rm_watch(self, wd)—Removes a watch from this inotify

The watch descriptor provided should have previously been returned by inotify_add_watch and not previously have been removed.