summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-11-10 14:00:25 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-11-10 14:00:25 +0100
commit001fed03121e3d07e9250d97aa1bc287fa18e264 (patch)
treeb5d476744d402ef49c8a8a8e77b9065ebb1f57e2
parentf285a958f3de95bd010116075d390a8fd9353a63 (diff)
epoll_ctl.2: Regular files and directories can't be monitored with epoll_ctl()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/epoll_ctl.23
1 files changed, 3 insertions, 0 deletions
diff --git a/man2/epoll_ctl.2 b/man2/epoll_ctl.2
index 74a09b6c2..3a4593baf 100644
--- a/man2/epoll_ctl.2
+++ b/man2/epoll_ctl.2
@@ -250,6 +250,9 @@ The target file
.I fd
does not support
.BR epoll .
+This error can occur if
+.I fd
+refers to, for example, a regular file or a directory.
.SH VERSIONS
.BR epoll_ctl ()
was added to the kernel in version 2.6.