diff options
Diffstat (limited to 'include/bits/siginfo.h')
| -rw-r--r-- | include/bits/siginfo.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/bits/siginfo.h b/include/bits/siginfo.h new file mode 100644 index 00000000..6a254596 --- /dev/null +++ b/include/bits/siginfo.h @@ -0,0 +1,28 @@ +#ifndef __BITS_SIGINFO_H +#define __BITS_SIGINFO_H + +#ifndef __BITS_SIGINFO_H_ +#error "Internal header — include the public API header instead." +#else +#undef __BITS_SIGINFO_H_ +#endif + +#define __BITS_SIGEVENT_H_ +#include <bits/sigevent.h> + +typedef __UINT32_TYPE__ id_t; +typedef __INT64_TYPE__ pid_t; +typedef __UINT32_TYPE__ uid_t; + +typedef struct { + int si_signo; + int si_code; + int si_errno; + pid_t si_pid; + uid_t si_uid; + void *si_addr; + int si_status; + union sigval si_value; +} siginfo_t; + +#endif |
