1#include <stddef.h>
2#include <signal.h>
3#include <sys/ucontext.h>
4
5--
6
7SIG_BLOCK
8SIG_UNBLOCK
9SIG_SETMASK
10
11_NSIG8          (_NSIG / 8)
12
13#define ucontext(member)	offsetof (ucontext_t, member)
14#define mcontext(member)	ucontext (uc_mcontext.member)
15
16SC_FLGS		ucontext (uc_flags)
17SC_LINK		ucontext (uc_link)
18SC_STCK		ucontext (uc_stack.ss_sp)
19SC_STSZ		ucontext (uc_stack.ss_size)
20SC_PSW		mcontext (psw)
21SC_GPRS		mcontext (gregs)
22SC_ACRS		mcontext (aregs)
23SC_FPC		mcontext (fpregs.fpc)
24SC_FPRS		mcontext (fpregs.fprs)
25SC_MASK		ucontext (uc_sigmask)
26