summaryrefslogtreecommitdiff
path: root/src/signal/siginfo_t.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/siginfo_t.c')
-rw-r--r--src/signal/siginfo_t.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/signal/siginfo_t.c b/src/signal/siginfo_t.c
new file mode 100644
index 00000000..0a0e907b
--- /dev/null
+++ b/src/signal/siginfo_t.c
@@ -0,0 +1,18 @@
+#include <signal.h>
+
+typedef struct {
+ int si_signo;
+ int si_code;
+ pid_t si_pid;
+ uid_t si_uid;
+ void *si_addr;
+ int si_status;
+ long si_band;
+ int si_errno;
+ union sigval si_value;
+} siginfo_t;
+
+/*
+XOPEN(400)
+POSIX(200112)
+*/