1 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
2 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
4 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
5 #define MINSIGSTKSZ 2048
9 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
10 typedef unsigned long long greg_t
, gregset_t
[32];
23 unsigned long long sc_regs
[32];
24 unsigned long long sc_fpregs
[32];
25 unsigned long long sc_mdhi
;
26 unsigned long long sc_hi1
;
27 unsigned long long sc_hi2
;
28 unsigned long long sc_hi3
;
29 unsigned long long sc_mdlo
;
30 unsigned long long sc_lo1
;
31 unsigned long long sc_lo2
;
32 unsigned long long sc_lo3
;
33 unsigned long long sc_pc
;
34 unsigned int sc_fpc_csr
;
35 unsigned int sc_used_math
;
37 unsigned int sc_reserved
;
53 unsigned int used_math
;
55 unsigned int reserved
;
60 unsigned long long __mc1
[32];
62 unsigned long long __mc3
[9];
73 typedef struct __ucontext
{
74 unsigned long uc_flags
;
75 struct __ucontext
*uc_link
;
77 mcontext_t uc_mcontext
;
81 #define SA_NOCLDSTOP 1
82 #define SA_NOCLDWAIT 0x10000
84 #define SA_ONSTACK 0x08000000
85 #define SA_RESTART 0x10000000
86 #define SA_NODEFER 0x40000000
87 #define SA_RESETHAND 0x80000000
88 #define SA_RESTORER 0x04000000
100 #define SI_ASYNCIO (-2)
101 #define SI_MESGQ (-4)
102 #define SI_TIMER (-3)
104 #define __SI_SWAP_ERRNO_CODE
114 #define SIGIOT SIGABRT
131 #define SIGPOLL SIGIO
141 #define SIGUNUSED SIGSYS