2 * D header file for POSIX.
4 * Copyright: Public Domain
5 * License: Public Domain
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
9 module core.sys.posix.ucontext;
11 private import core.sys.posix.config;
12 public import core.sys.posix.signal; // for sigset_t, stack_t
27 mcontext_t uc_mcontext;
40 ushort[4] significand;
61 _libc_xmmreg[16] _xmm;
68 alias greg_t[NGREG] gregset_t;
69 alias _libc_fpstate* fpregset_t;
76 c_ulong[8] __reserved1;
84 mcontext_t uc_mcontext;
86 _libc_fpstate __fpregs_mem;
95 ushort[4] significand;
115 alias greg_t[NGREG] gregset_t;
116 alias _libc_fpstate* fpregset_t;
132 mcontext_t uc_mcontext;
134 _libc_fpstate __fpregs_mem;
143 int getcontext(ucontext_t*);
144 void makecontext(ucontext_t*, void function(), int, ...);
145 int setcontext(in ucontext_t*);
146 int swapcontext(ucontext_t*, in ucontext_t*);
149 static if( is( ucontext_t ) )
151 int getcontext(ucontext_t*);
152 void makecontext(ucontext_t*, void function(), int, ...);
153 int setcontext(in ucontext_t*);
154 int swapcontext(ucontext_t*, in ucontext_t*);