mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
sys/epoll: sync the epoll define with linux
Change-Id: If876e0c0b44de73cf2847a9d3c21ac138dd4f879 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -74,6 +74,10 @@ enum EPOLL_EVENTS
|
||||
#define EPOLLERR EPOLLERR
|
||||
EPOLLHUP = POLLHUP,
|
||||
#define EPOLLHUP EPOLLHUP
|
||||
EPOLLRDHUP = 0x2000,
|
||||
#define EPOLLRDHUP EPOLLRDHUP
|
||||
EPOLLWAKEUP = 1u << 29,
|
||||
#define EPOLLWAKEUP EPOLLWAKEUP
|
||||
EPOLLONESHOT = 1u << 30,
|
||||
#define EPOLLONESHOT EPOLLONESHOT
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user