rustix::fs::inotify

Function inotify_remove_watch

source
pub fn inotify_remove_watch(inot: BorrowedFd<'_>, wd: i32) -> Result<()>
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.