2017-04-27 20:29:35 +00:00
|
|
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined POSIX2008 && !defined XOPEN2K8
|
2000-02-28 05:08:01 +00:00
|
|
|
type mcontext_t
|
|
|
|
|
|
|
|
|
|
type ucontext_t
|
|
|
|
|
|
2001-08-19 01:09:06 +00:00
|
|
|
element ucontext_t {ucontext_t*} uc_link
|
2017-06-20 17:47:32 +00:00
|
|
|
// Bug 21634: uc_sigmask has wrong type.
|
|
|
|
|
xfail[ia64-linux]-element ucontext_t sigset_t uc_sigmask
|
2001-08-19 01:09:06 +00:00
|
|
|
element ucontext_t stack_t uc_stack
|
2017-06-20 17:51:36 +00:00
|
|
|
// Bug 21635: uc_mcontext has wrong type.
|
|
|
|
|
xfail[powerpc32-linux]-element ucontext_t mcontext_t uc_mcontext
|
2000-02-28 05:08:01 +00:00
|
|
|
|
|
|
|
|
type sigset_t
|
|
|
|
|
type stack_t
|
|
|
|
|
|
|
|
|
|
function int getcontext (ucontext_t*)
|
|
|
|
|
function int setcontext (const ucontext_t*)
|
|
|
|
|
function void makecontext (ucontext_t*, void(*)(void), int, ...)
|
|
|
|
|
function int swapcontext (ucontext_t*, const ucontext_t*)
|
|
|
|
|
|
|
|
|
|
allow uc_*
|
2000-04-30 06:52:59 +00:00
|
|
|
allow ss_*
|
2000-02-28 05:08:01 +00:00
|
|
|
allow *_t
|
2012-02-25 23:18:39 -05:00
|
|
|
#endif
|