Skip to content

Commit

Permalink
fs/epoll: Map EPOLLRDHUP from 0x2000 to POLLRDHUP
Browse files Browse the repository at this point in the history
maintain consistency within nuttx definitions

Signed-off-by: Xiang Xiao <[email protected]>
  • Loading branch information
xiaoxiang781216 authored and pkarashchenko committed Aug 16, 2024
1 parent 7c1768c commit cd1f8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sys/epoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd1f8f1

Please sign in to comment.