mirror of https://github.com/mkerrisk/man-pages
inotify_add_watch.2: Add IN_ONLYDIR based error
I noticed that it was undocumented how inotify_add_watch(2) behaves if IN_ONLYDIR is specified and the target is not a directory. I've included a patch that adds ENOTDIR as an additional error in the inotify_add_watch(2) man page. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
abd34f349d
commit
12507e51a4
|
@ -113,6 +113,14 @@ Insufficient kernel memory was available.
|
|||
.B ENOSPC
|
||||
The user limit on the total number of inotify watches was reached or the
|
||||
kernel failed to allocate a needed resource.
|
||||
.TP
|
||||
.B ENOTDIR
|
||||
.I mask
|
||||
contains
|
||||
.B IN_ONLYDIR
|
||||
and
|
||||
.I pathname
|
||||
is not a directory.
|
||||
.SH VERSIONS
|
||||
Inotify was merged into the 2.6.13 Linux kernel.
|
||||
.SH CONFORMING TO
|
||||
|
|
Loading…
Reference in New Issue