Retro68/gcc/newlib/libc/sys/linux/kernel_sigaction.h

20 lines
440 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/* This is the sigaction structure from the Linux 2.1.20 kernel. */
#define HAVE_SA_RESTORER
struct old_kernel_sigaction {
__sighandler_t k_sa_handler;
unsigned long sa_mask;
unsigned long sa_flags;
void (*sa_restorer) (void);
};
/* This is the sigaction structure from the Linux 2.1.68 kernel. */
struct kernel_sigaction {
__sighandler_t k_sa_handler;
unsigned long sa_flags;
void (*sa_restorer) (void);
sigset_t sa_mask;
};