2020-08-25 11:23:25 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGACTION_LINUX_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGACTION_LINUX_H_
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
|
2021-02-04 03:35:29 +00:00
|
|
|
struct sigset_linux {
|
|
|
|
uint32_t sig[2];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct sigaction_linux {
|
2020-08-25 11:23:25 +00:00
|
|
|
intptr_t sa_handler;
|
|
|
|
uint64_t sa_flags;
|
|
|
|
void (*sa_restorer)(void);
|
2021-02-04 03:35:29 +00:00
|
|
|
struct sigset_linux sa_mask;
|
2020-08-25 11:23:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGACTION_LINUX_H_ */
|