projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e172c7b
)
add linux extension POLLRDHUP to poll.h
author
Rich Felker
<dalias@aerifal.cx>
Wed, 26 Dec 2012 21:55:49 +0000
(16:55 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 26 Dec 2012 21:55:49 +0000
(16:55 -0500)
the POLL prefix is in the reserved namespace for poll.h, so no feature
test macro checks are needed.
include/poll.h
patch
|
blob
|
history
diff --git
a/include/poll.h
b/include/poll.h
index f0e68b2f6b7bee1ce2eb73012dc3327aa2354d3b..9a785307a39f1489550a53e08a0eab860ea98708 100644
(file)
--- a/
include/poll.h
+++ b/
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;