From ae3faf4b622c1e4fa2373915c513922ef5e6f70b Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 16 Jan 2009 07:43:02 +1300 Subject: [PATCH] epoll_wait.2: Minor restructuring of text Signed-off-by: Michael Kerrisk --- man2/epoll_wait.2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2 index 040aec250..2962ff42f 100644 --- a/man2/epoll_wait.2 +++ b/man2/epoll_wait.2 @@ -40,9 +40,6 @@ system call waits for events on the .B epoll instance referred to by the file descriptor .IR epfd . -The call waits for a maximum time of -.I timeout -milliseconds. The memory area pointed to by .I events will contain the events that will be available for the caller. @@ -53,6 +50,10 @@ are returned by The .I maxevents argument must be greater than zero. + +The call waits for a maximum time of +.I timeout +milliseconds. Specifying a .I timeout of \-1 makes @@ -63,6 +64,7 @@ equal to zero makes .BR epoll_wait () to return immediately even if no events are available (return code equal to zero). + The .I struct epoll_event is defined as :