Function inotify_rm_watch [src]
remove an existing watch from an inotify instance
Prototype
pub fn inotify_rm_watch(inotify_fd: i32, wd: i32) void
Parameters
inotify_fd: i32
wd: i32
Source
pub fn inotify_rm_watch(inotify_fd: i32, wd: i32) void {
switch (errno(system.inotify_rm_watch(inotify_fd, wd))) {
.SUCCESS => return,
.BADF => unreachable,
.INVAL => unreachable,
else => unreachable,
}
}