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
path: root/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h 4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index 8df725d9..c6323c61 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -94,7 +94,11 @@ union sigval {
};
typedef struct {
+#ifdef __SI_SWAP_ERRNO_CODE
+ int si_signo, si_code, si_errno;
+#else
int si_signo, si_errno, si_code;
+#endif
union {
char __pad[128 - 2*sizeof(int) - sizeof(long)];
struct {
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 15:15:27 +0000

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