projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cd6d223ec115578f80d2e6fb4aa27b9b53938b0d
[oweals/musl.git]
/
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