Go to the documentation of this file.
14 #ifndef _UAPI_LINUX_EVENTPOLL_H
15 #define _UAPI_LINUX_EVENTPOLL_H
18 #include <linux/fcntl.h>
19 #include <linux/types.h>
22 #define EPOLL_CLOEXEC O_CLOEXEC
25 #define EPOLL_CTL_ADD 1
26 #define EPOLL_CTL_DEL 2
27 #define EPOLL_CTL_MOD 3
39 #define EPOLLWAKEUP (1 << 29)
42 #define EPOLLONESHOT (1 << 30)
45 #define EPOLLET (1 << 31)
54 #define EPOLL_PACKED __attribute__((packed))