summaryrefslogtreecommitdiff
path: root/src/_forced/sigaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/_forced/sigaction.h')
-rw-r--r--src/_forced/sigaction.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/_forced/sigaction.h b/src/_forced/sigaction.h
new file mode 100644
index 00000000..33398c49
--- /dev/null
+++ b/src/_forced/sigaction.h
@@ -0,0 +1,18 @@
+/* TODO: appropriate #ifdefs */
+
+#define SA_RESTART 0x10000000
+#define SA_RESTORER 0x04000000
+
+typedef unsigned long pid_t;
+typedef unsigned long uid_t;
+typedef unsigned long clock_t;
+#include "signal/sigset_t.h"
+#include "signal/union_sigval.h"
+#include "signal/siginfo_t.h"
+
+#define _POSIX_C_SOURCE 199506L
+#include "signal/struct_sigaction.h"
+
+static int sigaction(int, const struct sigaction * restrict, struct sigaction * restrict);
+
+#include "signal/sigaction.c"