| 145 | } |
| 146 | |
| 147 | int |
| 148 | ff_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 |
no test coverage detected