xref: /aosp_15_r20/external/musl/src/internal/ksigaction.h (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
1 #include <features.h>
2 
3 /* This is the structure used for the rt_sigaction syscall on most archs,
4  * but it can be overridden by a file with the same name in the top-level
5  * arch dir for a given arch, if necessary. */
6 struct k_sigaction {
7 	void (*handler)(int);
8 	unsigned long flags;
9 #ifdef SA_RESTORER
10 	void (*restorer)(void);
11 #endif
12 	unsigned mask[2];
13 #ifndef SA_RESTORER
14 	void *unused;
15 #endif
16 };
17 
18 hidden void __restore(), __restore_rt();
19