| Linux Standard Base Core Specification 4.0 | ||
|---|---|---|
| <<< Previous | Next >>> | |
inotify_rm_watch() shall remove the watch associated with the watch descriptor wd from the watch list of the inotify instance associated with the file descriptor fd.
If a watch is removed, its watch descriptor shall generate the IN_IGNORED event.
On success, inotify_rm_watch() shall return 0.
On failure, inotify_rm_watch() shall return -1
and set errno to an appropriate value.
| EBADF | The file descriptor fd is invalid. | |
| EINVAL | wd is invalid, or fd is not a valid inotify file descriptor. |
| <<< Previous | Home | Next >>> |
| inotify_init | Up | ioctl |