Browse 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 12 years ago
parent
commit
8442358d9d
1 changed files with 1 additions and 0 deletions
  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;