From 34936513ffa17546e0dcc4ebef79023571c7682d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 3 Dec 2010 07:20:28 +0100 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man2/epoll_create.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/epoll_create.2 b/man2/epoll_create.2 index de0852213..70aa78489 100644 --- a/man2/epoll_create.2 +++ b/man2/epoll_create.2 @@ -22,7 +22,7 @@ .\" Modified 2005-04-04 by Marko Kohtala .\" 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"