1#include <inttypes.h>
2#include <signal.h>
3#include <stddef.h>
4#include <sys/ucontext.h>
5
6SIG_BLOCK
7SIG_SETMASK
8
9-- sizeof(sigset_t) expected by kernel: see comment in ARC sigaction.c for details
10_NSIG8				(_NSIG / 8)
11
12-- Offsets of the fields in the ucontext_t structure.
13#define ucontext(member)	offsetof (ucontext_t, member)
14
15UCONTEXT_FLAGS			ucontext (__uc_flags)
16UCONTEXT_LINK			ucontext (uc_link)
17UCONTEXT_STACK			ucontext (uc_stack)
18UCONTEXT_MCONTEXT		ucontext (uc_mcontext)
19UCONTEXT_SIGMASK		ucontext (uc_sigmask)
20UCONTEXT_SIZE			sizeof (ucontext_t)
21