ucontext(5) ucontext(5)
NAME
ucontext - user context
SYNOPSIS
#include <ucontext.h>
DESCRIPTION
The <ucontext.h> header defines the mcontextt type through typedef.
The <ucontext.h> header defines the ucontextt type as a structure
that includes at least the following members:
ucontextt *uclink Pointer to the context that will be
resumed when this context returns.
sigsett ucsigmask The set of signals that are blocked when
this context is active.
stackt ucstack The stack used by this context.
mcontextt ucmcontext A machine-specific representation of the
saved context.
The types sigsett and stackt are defined as in <signal.h>.
The following are declared as functions and may also be defined as
macros:
int getcontext(ucontextt *ucp);
int setcontext(const ucontextt *ucp);
void makecontext(ucontextt *ucp, (void *func)(), int argc, ...);
int swapcontext(ucontextt *oucp, const ucontextt *ucp);
SEE ALSO
getcontext(2), sigaction(2), sigprocmask(2), sigaltstack(2),
makecontext(3C), signal(5).
Page 1 Reliant UNIX 5.44 Printed 11/98