7b3d8b9485
Always use the __-decorated form of an attribute name in public headers, as the bareword form is in the user's namespace, and we don't want compilation to break just because the user defines the bareword to mean something else. Signed-off-by: Eric Blake <eblake@redhat.com>
25 lines
532 B
C
25 lines
532 B
C
/* 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;
|
|
|
|
typedef __attribute__ ((__aligned__ (16))) struct __ucontext {
|
|
mcontext_t uc_mcontext;
|
|
struct __ucontext *uc_link;
|
|
sigset_t uc_sigmask;
|
|
stack_t uc_stack;
|
|
unsigned long int uc_flags;
|
|
} ucontext_t;
|
|
|
|
#endif /* !_SYS_UCONTEXT_H_ */
|