2015-03-31 03:31:13 +08:00
|
|
|
/* ucontext.h
|
|
|
|
|
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
#ifndef _SYS_UCONTEXT_H_
|
|
|
|
#define _SYS_UCONTEXT_H_
|
|
|
|
|
|
|
|
#include <signal.h>
|
|
|
|
|
|
|
|
typedef struct __mcontext mcontext_t;
|
|
|
|
|
2017-08-17 09:39:18 +08:00
|
|
|
typedef __attribute__ ((__aligned__ (16))) struct __ucontext {
|
2015-04-03 01:05:32 +08:00
|
|
|
mcontext_t uc_mcontext;
|
2015-03-31 03:31:13 +08:00
|
|
|
struct __ucontext *uc_link;
|
|
|
|
sigset_t uc_sigmask;
|
|
|
|
stack_t uc_stack;
|
|
|
|
unsigned long int uc_flags;
|
|
|
|
} ucontext_t;
|
|
|
|
|
|
|
|
#endif /* !_SYS_UCONTEXT_H_ */
|