Browse Source

Add EPOLLRDHUP constant

Denis Vlasenko 16 years ago
parent
commit
eb097eb482
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/common/sys/epoll.h

+ 2 - 0
libc/sysdeps/linux/common/sys/epoll.h

@@ -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)