xref: /f-stack/lib/ff_epoll.h (revision b844e8f8)
1 #ifndef _FF_EPOLL_H
2 #define _FF_EPOLL_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include <sys/epoll.h>
9 
10 int ff_epoll_create(int size);
11 int ff_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event);
12 int ff_epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout);
13 
14 #ifdef __cplusplus
15 }
16 #endif
17 
18 #endif
19 
20