mirror of https://github.com/mkerrisk/man-pages
epoll.7: Clarify a comment in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a3e65c937b
commit
7d26f7d449
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue