MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ff_epoll_wait

Function ff_epoll_wait

lib/ff_epoll.c:147–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147int
148ff_epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
149{
150 int i, ret;
151 (void)timeout;
152 if (!events || maxevents < 1) {
153 errno = EINVAL;
154 return -1;
155 }
156
157 return ff_kevent_do_each(epfd, NULL, 0, events, maxevents, NULL, ff_event_to_epoll);
158}
159

Callers 2

loopFunction · 0.85
ff_sys_epoll_waitFunction · 0.85

Calls 1

ff_kevent_do_eachFunction · 0.85

Tested by

no test coverage detected