11 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
12 #define NGREG (sizeof(gregset_t)/sizeof(greg_t))
17 int getcontext(struct __ucontext *);
18 void makecontext(struct __ucontext *, void (*)(void), int, ...);
19 int setcontext(const struct __ucontext *);
20 int swapcontext(struct __ucontext *, const struct __ucontext *);