What does it mean by "#define X X"?
In Linux header file epoll.h , I found the following code: enum EPOLL_EVENTS { EPOLLIN = 0x001, #define EPOLLIN EPOLLIN ... } What does it mean by #define EPOLLIN EPOLLIN ?
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
In Linux header file epoll.h , I found the following code: enum EPOLL_EVENTS { EPOLLIN = 0x001, #define EPOLLIN EPOLLIN ... } What does it mean by #define EPOLLIN EPOLLIN ?
Asked · 29 Jan 2024, 00:50 UTC
commented · 02 Feb 2024, 20:02 UTC