add netpacket/packet.h
[musl] / include / ucontext.h
1 #ifndef _UCONTEXT_H
2 #define _UCONTEXT_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7 #include <signal.h>
8
9 #ifdef _GNU_SOURCE
10 #define ucontext __ucontext
11 #endif
12
13 int  getcontext(ucontext_t *);
14 void makecontext(ucontext_t *, void (*)(void), int, ...);
15 int  setcontext(const ucontext_t *);
16 int  swapcontext(ucontext_t *, const ucontext_t *);
17
18 #ifdef __cplusplus
19 }
20 #endif
21 #endif