Skip to main content

remove_watch

Function remove_watch 

Source
pub fn remove_watch(fd: &Fd, wd: i32) -> Result<(), CoreError>
Expand description

Remove an existing watch descriptor from an inotify instance.

ยงErrors

  • EBADF: The provided file descriptor is invalid.
  • EINVAL: The watch descriptor wd is invalid for this inotify instance.