epoll.7: Clarify a comment in example code

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-06 15:35:41 +01:00
parent a3e65c937b
commit 7d26f7d449
1 changed files with 2 additions and 2 deletions

View File

@ -262,8 +262,8 @@ from where it stopped before.
struct epoll_event ev, events[MAX_EVENTS];
int listen_sock, conn_sock, nfds, epollfd;
/* Set up listening socket, \(aqlisten_sock\(aq (socket(),
bind(), listen()) */
/* Code to set up listening socket, \(aqlisten_sock\(aq,
(socket(), bind(), listen()) omitted */
epollfd = epoll_create1(0);
if (epollfd == \-1) {