Explorar el Código

add linux extension POLLRDHUP to poll.h

the POLL prefix is in the reserved namespace for poll.h, so no feature
test macro checks are needed.
Rich Felker hace 12 años
padre
commit
8442358d9d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      include/poll.h

+ 1 - 0
include/poll.h

@@ -18,6 +18,7 @@ extern "C" {
 #define POLLWRNORM 0x100
 #define POLLWRBAND 0x200
 #define POLLMSG    0x400
+#define POLLRDHUP  0x2000
 
 typedef unsigned long nfds_t;