diff --git a/headers/posix/ucontext.h b/headers/posix/ucontext.h
new file mode 100644
index 0000000..6900401
-
|
+
|
|
| 1 | /* |
| 2 | * Copyright 2008, Haiku Inc. All Rights Reserved. |
| 3 | * Distributed under the terms of the MIT license. |
| 4 | */ |
| 5 | #ifndef _UCONTEXT_H_ |
| 6 | #define _UCONTEXT_H_ |
| 7 | |
| 8 | #include <signal.h> |
| 9 | |
| 10 | |
| 11 | typedef struct vregs mcontext_t; |
| 12 | |
| 13 | |
| 14 | typedef struct ucontext_t { |
| 15 | ucontext_t *uc_link; |
| 16 | sigset_t uc_sigmask; |
| 17 | stack_t uc_stack; |
| 18 | mcontext_t uc_mcontext; |
| 19 | } ucontext_t; |
| 20 | |
| 21 | |
| 22 | #endif /* _UCONTEXT_H_ */ |