From fc00c656c96528112d05cf0edf8631bd5eaea446 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 20:10:31 +0100 Subject: Add build system scaffolding and libc headers --- include/bits/sigevent.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/bits/sigevent.h (limited to 'include/bits/sigevent.h') diff --git a/include/bits/sigevent.h b/include/bits/sigevent.h new file mode 100644 index 00000000..b36e676c --- /dev/null +++ b/include/bits/sigevent.h @@ -0,0 +1,20 @@ +#ifndef __BITS_SIGEVENT_H +#define __BITS_SIGEVENT_H + +#ifndef __BITS_SIGEVENT_H_ +#error "Internal header — include the public API header instead." +#endif + +union sigval { + int sival_int; + void *sival_ptr; +}; + +struct sigevent { + int sigev_notify; + int sigev_signo; + union sigval sigev_value; + void (*sigev_notify_function)(union sigval); +}; + +#endif -- cgit v1.2.3