musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--include/sys/signalfd.h 5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h
index 297aac73..4f3d3999 100644
--- 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);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月09日 01:46:04 +0000

AltStyle によって変換されたページ (->オリジナル) /