Sfoglia il codice sorgente

Add EPOLLRDHUP constant

Denis Vlasenko 16 anni fa
parent
commit
eb097eb482
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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)