]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/internal/ksigaction.h
WASI libc prototype implementation.
[wasi-libc.git] / libc-top-half / musl / src / internal / ksigaction.h
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 void (*restorer)(void);
10 unsigned mask[2];
11 };
12
13 hidden void __restore(), __restore_rt();