projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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
297aac7
..
4f3d399
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);