epoll_create.2: Note that 'size' argument must be greater than 0

See https://bugzilla.kernel.org/show_bug.cgi?id=23872

Reported-by: Joern Heissler <kernelbugs@joern.heissler.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-12-03 07:20:28 +01:00
parent dd7f192841
commit 34936513ff
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
.\" Modified 2005-04-04 by Marko Kohtala <marko.kohtala@gmail.com>
.\" 2008-10-10, mtk: add description of epoll_create1()
.\"
.TH EPOLL_CREATE 2 2009-01-17 "Linux" "Linux Programmer's Manual"
.TH EPOLL_CREATE 2 2010-12-03 "Linux" "Linux Programmer's Manual"
.SH NAME
epoll_create, epoll_create1 \- open an epoll file descriptor
.SH SYNOPSIS
@ -44,7 +44,7 @@ is not the maximum size of the backing store but
just a hint to the kernel about how to dimension internal structures.
(Nowadays,
.I size
is ignored; see NOTES below.)
is unused; see NOTES below.)
.BR epoll_create ()
returns a file descriptor referring to the new epoll instance.
@ -118,7 +118,7 @@ is Linux-specific, and was introduced in kernel 2.5.44.
.SH NOTES
Since Linux 2.6.8, the
.I size
argument is unused.
argument is unused, but must be greater than zero.
(The kernel dynamically sizes the required data structures
without needing this initial hint.)
.SH "SEE ALSO"