1 /*
2  * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
3  *
4  * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
5  * in this tarball.
6  */
7 
8 #ifndef _SYS_UCONTEXT_H
9 #define _SYS_UCONTEXT_H	1
10 
11 #include <features.h>
12 #include <signal.h>
13 #include <bits/sigcontext.h>
14 
15 typedef struct ucontext
16 {
17 	unsigned long int uc_flags;
18 	struct ucontext * uc_link;
19 	stack_t           uc_stack;
20 	struct sigcontext uc_mcontext;
21 	sigset_t          uc_sigmask;
22 } ucontext_t;
23 
24 #endif /* sys/ucontext.h */
25