fs/epoll: Map EPOLLRDHUP from 0x2000 to POLLRDHUP
maintain consistency within nuttx definitions Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
7c1768c167
commit
cd1f8f1fea
|
@ -78,7 +78,7 @@ enum EPOLL_EVENTS
|
||||||
#define EPOLLERR EPOLLERR
|
#define EPOLLERR EPOLLERR
|
||||||
EPOLLHUP = POLLHUP,
|
EPOLLHUP = POLLHUP,
|
||||||
#define EPOLLHUP EPOLLHUP
|
#define EPOLLHUP EPOLLHUP
|
||||||
EPOLLRDHUP = 0x2000,
|
EPOLLRDHUP = POLLRDHUP,
|
||||||
#define EPOLLRDHUP EPOLLRDHUP
|
#define EPOLLRDHUP EPOLLRDHUP
|
||||||
EPOLLWAKEUP = 1u << 29,
|
EPOLLWAKEUP = 1u << 29,
|
||||||
#define EPOLLWAKEUP EPOLLWAKEUP
|
#define EPOLLWAKEUP EPOLLWAKEUP
|
||||||
|
|
Loading…
Reference in New Issue