The EINVAL error can also occur if 'fd' is not an inotify file descriptor.

This commit is contained in:
Michael Kerrisk 2006-06-05 02:34:19 +00:00
parent ace17ecf07
commit 9f5774a93b
2 changed files with 6 additions and 2 deletions

View File

@ -88,7 +88,9 @@ The given file descriptor is not valid.
points outside of the process's accessible address space.
.TP
.B EINVAL
The given event mask contains no legal events.
The given event mask contains no legal events; or
.I fd
is not an inotify file descriptor.
.TP
.B ENOMEM
Insufficient kernel memory was available.

View File

@ -58,7 +58,9 @@ is not a valid file descriptor.
.B EINVAL
The watch descriptor
.I wd
is not valid.
is not valid; or
.I fd
is not an inotify file descriptor.
.SH "HISTORY"
Inotify was merged into the 2.6.13 Linux kernel.
.SH "CONFORMING TO"