OSDN Git Service

signal.h: move prototypes for __syscall_[rt_]sigaction to common place
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / bits / kernel_sigaction.h
1 #ifndef _BITS_SIGACTION_STRUCT_H
2 #define _BITS_SIGACTION_STRUCT_H
3
4 /* This file provides whatever this particular arch's kernel thinks
5  * the sigaction struct should look like... */
6
7
8 #if defined(__ia64__)
9
10 #undef HAVE_SA_RESTORER
11
12 #else
13
14 #define HAVE_SA_RESTORER
15 /* This is the sigaction structure from the Linux 2.1.20 kernel.  */
16 struct old_kernel_sigaction {
17         __sighandler_t k_sa_handler;
18         unsigned long sa_mask;
19         unsigned long sa_flags;
20         void (*sa_restorer)(void);
21 };
22 #endif
23
24 #endif /* _BITS_SIGACTION_STRUCT_H */