1INOTIFY_RM_WATCH(2) Linux Programmer's Manual INOTIFY_RM_WATCH(2)
2
3
4
6 inotify_rm_watch - remove an existing watch from an inotify instance
7
9 #include <sys/inotify.h>
10
11 int inotify_rm_watch(int fd, uint32_t wd);
12
14 inotify_rm_watch() removes the watch associated with the watch descripâ
15 tor wd from the inotify instance associated with the file descriptor
16 fd.
17
18 Removing a watch causes an IN_IGNORED event to be generated for this
19 watch descriptor. (See inotify(7).)
20
22 On success, inotify_rm_watch() returns zero, or -1 if an error occurred
23 (in which case, errno is set appropriately).
24
26 EBADF fd is not a valid file descriptor.
27
28 EINVAL The watch descriptor wd is not valid; or fd is not an inotify
29 file descriptor.
30
32 Inotify was merged into the 2.6.13 Linux kernel.
33
35 This system call is Linux specific.
36
38 inotify_init(2), inotify_add_watch(2), inotify(7).
39
40
41
42Linux 2006-02-07 INOTIFY_RM_WATCH(2)