From 885f5974cdf65b59415837ae97f5a14ef1350670 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 19:20:15 +0100 Subject: feat: add gzip and new headers --- include/bits/siginfo.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 include/bits/siginfo.h (limited to 'include/bits/siginfo.h') 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 + +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 -- cgit v1.2.3