123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef _UCONTEXT_H
- #define _UCONTEXT_H 1
- #include <features.h>
- #include <sys/ucontext.h>
- #ifdef __UCLIBC_HAS_CONTEXT_FUNCS__
- __BEGIN_DECLS
- extern int getcontext (ucontext_t *__ucp) __THROWNL;
- extern int setcontext (const ucontext_t *__ucp) __THROWNL;
- extern int swapcontext (ucontext_t *__restrict __oucp,
- const ucontext_t *__restrict __ucp) __THROWNL;
- extern void makecontext (ucontext_t *__ucp, void (*__func) (void),
- int __argc, ...) __THROW;
- __END_DECLS
- #endif
- #endif
|