Przeglądaj źródła

Add EPOLLRDHUP constant

Denis Vlasenko 17 lat temu
rodzic
commit
eb097eb482
1 zmienionych plików z 2 dodań i 0 usunięć
  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)