]> git.ipfire.org Git - thirdparty/systemd.git/blob - klibc/klibc/arch/ia64/include/klibc/archsignal.h
[PATCH] sync klibc with release 0.95
[thirdparty/systemd.git] / klibc / klibc / arch / ia64 / include / klibc / archsignal.h
1 /*
2 * arch/ia64/include/klibc/archsignal.h
3 *
4 * Architecture-specific signal definitions.
5 *
6 */
7
8 #ifndef _KLIBC_ARCHSIGNAL_H
9 #define _KLIBC_ARCHSIGNAL_H
10
11 #define _NSIG 64
12 #define _NSIG_BPW 64
13 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
14
15 typedef struct {
16 unsigned long sig[_NSIG_WORDS];
17 } sigset_t;
18
19 struct sigaction {
20 union {
21 __sighandler_t _sa_handler;
22 void (*_sa_sigaction)(int, struct siginfo *, void *);
23 } _u;
24 sigset_t sa_mask;
25 int sa_flags;
26 };
27
28 #define sa_handler _u._sa_handler
29 #define sa_sigaction _u._sa_sigaction
30
31 #endif