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:
6468fc9
)
fix another case of cloexec/nonblock flags not matching arch values
author
Rich Felker
<dalias@aerifal.cx>
Thu, 10 Jan 2013 22:57:30 +0000
(17:57 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 10 Jan 2013 22:57:30 +0000
(17:57 -0500)
include/sys/signalfd.h
patch
|
blob
|
history
diff --git
a/include/sys/signalfd.h
b/include/sys/signalfd.h
index 297aac73ec594415a7a5abe72bab9056b306dbf6..4f3d3999d4ae6f8d70d9ac4e86e1e74f18778580 100644
(file)
--- a/
include/sys/signalfd.h
+++ b/
include/sys/signalfd.h
@@
-6,13
+6,14
@@
extern "C" {
#endif
#include <stdint.h>
+#include <fcntl.h>
#define __NEED_sigset_t
#include <bits/alltypes.h>
-#define SFD_CLOEXEC
02000000
-#define SFD_NONBLOCK
04000
+#define SFD_CLOEXEC
O_CLOEXEC
+#define SFD_NONBLOCK
O_NONBLOCK
int signalfd(int, const sigset_t *, int);