1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined POSIX2008 && !defined XOPEN2K8
2type mcontext_t
3
4type ucontext_t
5
6element ucontext_t {ucontext_t*} uc_link
7// Bug 21634: uc_sigmask has wrong type.
8xfail[ia64-linux]-element ucontext_t sigset_t uc_sigmask
9element ucontext_t stack_t uc_stack
10// Bug 21635: uc_mcontext has wrong type.
11xfail[powerpc32-linux]-element ucontext_t mcontext_t uc_mcontext
12
13type sigset_t
14type stack_t
15
16function int getcontext (ucontext_t*)
17function int setcontext (const ucontext_t*)
18function void makecontext (ucontext_t*, void(*)(void), int, ...)
19function int swapcontext (ucontext_t*, const ucontext_t*)
20
21allow uc_*
22allow ss_*
23allow *_t
24#endif
25