epoll_ctl.2: Document ENOSPC error (new in Linux 2.6.28)

This error results when the limit imposed by
/proc/sys/fs/epoll/max_user_watches is encountered.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-01-16 21:40:15 +13:00
parent 24cb4a4b9b
commit ccadaba2f3
1 changed files with 9 additions and 0 deletions

View File

@ -205,6 +205,15 @@ is not registered on with this epoll instance.
There was insufficient memory to handle the requested
.I op
control operation.
.TP ENOSPC
The limit imposed by
.I /proc/sys/fs/epoll/max_user_watches
was encountered while trying to register
.RB ( EPOLL_CTL_ADD )
a new file descriptor on an epoll instance.
See
.BR epoll (7)
for further details.
.TP
.B EPERM
The target file