From 4fecd7037792c72c25b75d416584af545f376dbd Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 26 Feb 2008 12:34:29 +0000 Subject: [PATCH] Clarify error that occurs if we add an epoll fd to its own set. --- man7/epoll.7 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man7/epoll.7 b/man7/epoll.7 index b6bb0c73a..c84fd4e1e 100644 --- a/man7/epoll.7 +++ b/man7/epoll.7 @@ -266,7 +266,10 @@ What happens if the file descriptor is put into its own file descriptor set? .TP .B A4 -It will fail. +The +.BR epoll_ctl (2) +call will fail +.RB ( EINVAL ). However, you can add an .B epoll file descriptor inside another epoll file descriptor set.