inotify_add_watch.2: Document ENOENT error

Reported-by: Pádraig Brady <P@draigbrady.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-10-20 13:25:42 +02:00
parent 8af786669b
commit 6a03b9dddc
1 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,7 @@
.\" 2005-07-19 Robert Love <rlove@rlove.org> - initial version
.\" 2006-02-07 mtk, various changes
.\"
.TH INOTIFY_ADD_WATCH 2 2006-02-07 "Linux" "Linux Programmer's Manual"
.TH INOTIFY_ADD_WATCH 2 2010-10-20 "Linux" "Linux Programmer's Manual"
.SH NAME
inotify_add_watch \- add a watch to an initialized inotify instance
.SH SYNOPSIS
@ -101,6 +101,11 @@ The given event mask contains no valid events; or
.I fd
is not an inotify file descriptor.
.TP
.B ENOENT
A directory component in
.I pathname
does not exist or is a dangling symbolic link.
.TP
.B ENOMEM
Insufficient kernel memory was available.
.TP