summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/arch/x86_64/ksigaction.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libc-top-half/musl/arch/x86_64/ksigaction.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc-top-half/musl/arch/x86_64/ksigaction.h b/libc-top-half/musl/arch/x86_64/ksigaction.h
new file mode 100644
index 0000000..c40e356
--- /dev/null
+++ b/libc-top-half/musl/arch/x86_64/ksigaction.h
@@ -0,0 +1,11 @@
+#include <features.h>
+
+struct k_sigaction {
+ void (*handler)(int);
+ unsigned long flags;
+ void (*restorer)(void);
+ unsigned mask[2];
+};
+
+hidden void __restore_rt();
+#define __restore __restore_rt