[PATCH 2/2] inotify.2: Note EEXIST error that can occur for IN_EXCL_ADD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Henry Wilson <henry.wilson@xxxxxxxxxxx>

Note EEXIST error that occurs when requesting a watch on a path
which is already watched with IN_EXCL_ADD.
---
 man2/inotify_add_watch.2 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/man2/inotify_add_watch.2 b/man2/inotify_add_watch.2
index e9ba038eb..27228bfca 100644
--- a/man2/inotify_add_watch.2
+++ b/man2/inotify_add_watch.2
@@ -121,6 +121,14 @@ contains
 and
 .I pathname
 is not a directory.
+.TP
+.B EEXIST
+.I mask
+contains
+.B IN_EXCL_ADD
+and
+.I pathname
+refers to a file already being watched.
 .SH VERSIONS
 Inotify was merged into the 2.6.13 Linux kernel.
 .SH CONFORMING TO
-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux