Browse Source

Add EPOLLRDHUP constant

Denis Vlasenko 16 năm trước cách đây
mục cha
commit
eb097eb482
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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)