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:
Xiang Xiao 2024-07-28 20:52:26 +08:00 committed by Petro Karashchenko
parent 7c1768c167
commit cd1f8f1fea
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ enum EPOLL_EVENTS
#define EPOLLERR EPOLLERR
EPOLLHUP = POLLHUP,
#define EPOLLHUP EPOLLHUP
EPOLLRDHUP = 0x2000,
EPOLLRDHUP = POLLRDHUP,
#define EPOLLRDHUP EPOLLRDHUP
EPOLLWAKEUP = 1u << 29,
#define EPOLLWAKEUP EPOLLWAKEUP