CACAO
Data Structures | Typedefs | Functions
ucontext.h File Reference

Go to the source code of this file.

Data Structures

struct  __stack
 
struct  __ucontext
 

Typedefs

typedef struct __stack stack_t
 
typedef CONTEXT mcontext_t
 
typedef unsigned long __sigset_t
 
typedef struct __ucontext ucontext_t
 

Functions

int getcontext (ucontext_t *ucp)
 
int setcontext (const ucontext_t *ucp)
 
int makecontext (ucontext_t *, void(*)(), int,...)
 
int swapcontext (ucontext_t *, const ucontext_t *)
 

Typedef Documentation

typedef unsigned long __sigset_t

Definition at line 28 of file ucontext.h.

typedef CONTEXT mcontext_t

Definition at line 27 of file ucontext.h.

typedef struct __stack stack_t
typedef struct __ucontext ucontext_t

Function Documentation

int getcontext ( ucontext_t ucp)

Definition at line 18 of file ucontext.c.

int makecontext ( ucontext_t ,
void(*)()  ,
int  ,
  ... 
)

Definition at line 39 of file ucontext.c.

int setcontext ( const ucontext_t ucp)

Definition at line 29 of file ucontext.c.

int swapcontext ( ucontext_t ,
const ucontext_t  
)

Definition at line 75 of file ucontext.c.