Removes an existing watch from an inotify instance.
Removing a watch causes an IN_IGNORED event to be generated for this watch descriptor.
Arguments
eax |
293 |
ebx |
File descriptor associated with the inotify instance. |
ecx |
Watch descriptor with whom the watch is associated. |
Return values
If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:
-EBADF |
ebx is not a valid file descriptor. |
-EINVAL |
The watch descriptor ecx is not valid; or ebx is not an inotify file descriptor. |
|
Remarks
n/a
Compatibility
Available since 2.6.13 |