OSDN Git Service

sigaction overhaul as described in docs/sigaction.txt
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / hppa / bits / kernel_sigaction.h
1 #ifndef _BITS_SIGACTION_STRUCT_H
2 #define _BITS_SIGACTION_STRUCT_H
3
4 /* We have a separate header file here because we do not support
5    SA_RESTORER on hppa. */
6
7 /* This is the sigaction struction from the Linux 2.1.20 kernel.  */
8 /* Blah.  This is bogus.  We don't ever use it. */
9 struct old_kernel_sigaction {
10         __sighandler_t k_sa_handler;
11         unsigned long sa_mask;
12         unsigned long sa_flags;
13 };
14
15 /* In uclibc, userspace struct sigaction is identical to
16  * "new" struct kernel_sigaction (one from the Linux 2.1.68 kernel).
17  * See sigaction.h
18  */
19
20 extern int __syscall_rt_sigaction (int, const struct sigaction *,
21         struct sigaction *, size_t) attribute_hidden;
22
23 #endif