diff options
Diffstat (limited to 'man7/epoll.7')
| -rw-r--r-- | man7/epoll.7 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/epoll.7 b/man7/epoll.7 index a84eee6114..ab0429e67c 100644 --- a/man7/epoll.7 +++ b/man7/epoll.7 @@ -363,7 +363,7 @@ Suppose you receive 100 events from .BR epoll_wait (2), and in event #47 a condition causes event #13 to be closed. If you remove the structure and -.BR close () +.BR close (2) the fd for event #13, then your event cache might still say there are events waiting for that fd causing confusion. @@ -371,7 +371,7 @@ confusion. One solution for this is to call, during the processing of event 47, .BR epoll_ctl ( EPOLL_CTL_DEL ) to delete fd 13 and -.BR close (), +.BR close (2), then mark its associated data structure as removed and link it to a cleanup list. If you find another |
