aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/posix/generic/ucontext-stubs.cpp
blob: 9413a786b98e51aa845f2283bc15a6ba1b2eb6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <ucontext.h>
#include <bits/ensure.h>

int getcontext(ucontext_t *) {
	__ensure(!"Not implemented!");
	__builtin_unreachable();
}
int setcontext(const ucontext_t *) {
	__ensure(!"Not implemented!");
	__builtin_unreachable();
}
void makecontext(ucontext_t *, void (*)(), int, ...) {
	__ensure(!"Not implemented!");
	__builtin_unreachable();
}
int swapcontext(ucontext_t *, const ucontext_t *) {
	__ensure(!"Not implemented!");
	__builtin_unreachable();
}