]> granicus.if.org Git - musl/commitdiff
sys/epoll.h: add EPOLLNVAL from linux v4.16
authorSzabolcs Nagy <nsz@port70.net>
Sat, 28 Apr 2018 15:52:06 +0000 (15:52 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 19 Jun 2018 17:25:16 +0000 (13:25 -0400)
added to uapi in commit 65aaf87b3aa2d049c6b9fd85221858a895df3393
used since commit a9a08845e9acbd224e4ee466f5c1275ed50054e8,
which renamed POLL* to EPOLL* in the kernel.

include/sys/epoll.h

index ffe2311f97d3a121b4e717b349dbf33239f41bc8..ac81a8418a0cc66b065cbb6d57ec3af0d6b4cc60 100644 (file)
@@ -21,6 +21,7 @@ enum EPOLL_EVENTS { __EPOLL_DUMMY };
 #define EPOLLPRI 0x002
 #define EPOLLOUT 0x004
 #define EPOLLRDNORM 0x040
+#define EPOLLNVAL 0x020
 #define EPOLLRDBAND 0x080
 #define EPOLLWRNORM 0x100
 #define EPOLLWRBAND 0x200