about summary refs log tree commit diff
path: root/REORG.TODO/bits/types/siginfo_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/bits/types/siginfo_t.h')
-rw-r--r--REORG.TODO/bits/types/siginfo_t.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/REORG.TODO/bits/types/siginfo_t.h b/REORG.TODO/bits/types/siginfo_t.h
new file mode 100644
index 0000000000..ab6bf18bec
--- /dev/null
+++ b/REORG.TODO/bits/types/siginfo_t.h
@@ -0,0 +1,21 @@
+#ifndef __siginfo_t_defined
+#define __siginfo_t_defined 1
+
+#include <bits/types.h>
+#include <bits/types/sigval_t.h>
+
+typedef struct siginfo
+  {
+    int si_signo;		/* Signal number.  */
+    int si_errno;		/* If non-zero, an errno value associated with
+				   this signal, as defined in <errno.h>.  */
+    int si_code;		/* Signal code.  */
+    __pid_t si_pid;		/* Sending process ID.  */
+    __uid_t si_uid;		/* Real user ID of sending process.  */
+    void *si_addr;		/* Address of faulting instruction.  */
+    int si_status;		/* Exit value or signal.  */
+    long int si_band;		/* Band event for SIGPOLL.  */
+    sigval_t si_value;		/* Signal value.  */
+  } siginfo_t;
+
+#endif