mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
370 B
21 lines
370 B
#ifndef _UCONTEXT_H
|
|
#define _UCONTEXT_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <signal.h>
|
|
|
|
#ifdef _GNU_SOURCE
|
|
#define ucontext __ucontext
|
|
#endif
|
|
|
|
int getcontext(ucontext_t *);
|
|
void makecontext(ucontext_t *, void (*)(void), int, ...);
|
|
int setcontext(const ucontext_t *);
|
|
int swapcontext(ucontext_t *, const ucontext_t *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
|