Home
last modified time | relevance | path

Searched refs:epfd (Results 1 – 1 of 1) sorted by relevance

/curl/docs/examples/
H A Dephiperfifo.c84 int epfd; /* epoll filedescriptor */ member
257 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL)) in remsock()
276 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL)) in setsock()
287 if(epoll_ctl(g->epfd, EPOLL_CTL_ADD, s, &ev)) in setsock()
444 epoll_ctl(g->epfd, EPOLL_CTL_ADD, sockfd, &epev); in init_fifo()
452 epoll_ctl(g->epfd, EPOLL_CTL_DEL, g->fifofd, NULL); in clean_fifo()
478 g.epfd = epoll_create1(EPOLL_CLOEXEC); in main()
479 if(g.epfd == -1) { in main()
497 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
515 int err = epoll_wait(g.epfd, events, in main()

Completed in 4 milliseconds