OSDN Git Service

Add EPOLLRDHUP constant
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 2 Mar 2009 21:10:01 +0000 (21:10 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 2 Mar 2009 21:10:01 +0000 (21:10 -0000)
libc/sysdeps/linux/common/sys/epoll.h

index 68f173a..44e814b 100644 (file)
@@ -45,6 +45,8 @@ enum EPOLL_EVENTS
 #define EPOLLERR EPOLLERR
     EPOLLHUP = 0x010,
 #define EPOLLHUP EPOLLHUP
+    EPOLLRDHUP = 0x2000,
+#define EPOLLRDHUP EPOLLRDHUP
     EPOLLONESHOT = (1 << 30),
 #define EPOLLONESHOT EPOLLONESHOT
     EPOLLET = (1 << 31)