Parcourir la source

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 il y a 12 ans
Parent
commit
8442358d9d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;