musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/signal.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2021年03月17日 19:19:27 +0000
committerRich Felker <dalias@aerifal.cx>2022年03月08日 17:19:49 -0500
commite99c4258275507c576d7d5bebdba1a8aadf120c4 (patch)
treea2983f2003e44ee1c718641f7c0929e34ad940d7 /include/signal.h
parent993cccce13ba3ae0432cb06eacd2e7f55a090952 (diff)
downloadmusl-e99c4258275507c576d7d5bebdba1a8aadf120c4.tar.gz
signal.h: add new sa_flags from linux v5.11
see linux commit a54f0dfda754c5cecc89a14dab68a3edc1e497b5 signal: define the SA_UNSUPPORTED bit in sa_flags linux commit 6ac05e832a9e96f9b1c42a8917cdd317d7b6c8fa signal: define the SA_EXPOSE_TAGBITS bit in sa_flags Note: SA_ is in the posix reserved namespace so these linux specific flags can be exposed when compiling for posix.
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h 3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index af940ccb..c347f861 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -178,6 +178,9 @@ struct sigaction {
#define sa_handler __sa_handler.sa_handler
#define sa_sigaction __sa_handler.sa_sigaction
+#define SA_UNSUPPORTED 0x00000400
+#define SA_EXPOSE_TAGBITS 0x00000800
+
struct sigevent {
union sigval sigev_value;
int sigev_signo;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 07:35:21 +0000

AltStyle によって変換されたページ (->オリジナル) /