loongarch64: add new syscall numbers
[musl.git] / src / internal / ksigaction.h
blobef333f33ccfd3950b47eae7e11a365699a9dd488
1 #include <features.h>
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
18 hidden void __restore(), __restore_rt();