aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/inotify_add_watch.28
1 files changed, 8 insertions, 0 deletions
diff --git a/man2/inotify_add_watch.2 b/man2/inotify_add_watch.2
index 5bb7c94a73..e9ba038ebb 100644
--- a/man2/inotify_add_watch.2
+++ b/man2/inotify_add_watch.2
@@ -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