mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
e5ccf113cd
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
21 lines
557 B
Plaintext
21 lines
557 B
Plaintext
#include <inttypes.h>
|
|
#include <signal.h>
|
|
#include <stddef.h>
|
|
#include <sys/ucontext.h>
|
|
|
|
SIG_BLOCK
|
|
SIG_SETMASK
|
|
|
|
-- sizeof(sigset_t) expected by kernel: see comment in ARC sigaction.c for details
|
|
_NSIG8 (_NSIG / 8)
|
|
|
|
-- Offsets of the fields in the ucontext_t structure.
|
|
#define ucontext(member) offsetof (ucontext_t, member)
|
|
|
|
UCONTEXT_FLAGS ucontext (__uc_flags)
|
|
UCONTEXT_LINK ucontext (uc_link)
|
|
UCONTEXT_STACK ucontext (uc_stack)
|
|
UCONTEXT_MCONTEXT ucontext (uc_mcontext)
|
|
UCONTEXT_SIGMASK ucontext (uc_sigmask)
|
|
UCONTEXT_SIZE sizeof (ucontext_t)
|