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 :