NOTE: click here if you get an empty page.
UCONTEXT(3) FreeBSD Library Functions Manual UCONTEXT(3)
NAME
ucontext -- user thread context
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <ucontext.h>
DESCRIPTION
The ucontext_t type is a structure type suitable for holding the context
for a user thread of execution. A thread's context includes its stack,
saved registers, and list of blocked signals.
The ucontext_t structure contains at least these fields:
ucontext_t *uc_link Context to assume when this one returns
sigset_t uc_sigmask Signals being blocked
stack_t uc_stack Stack area
mcontext_t uc_mcontext Saved registers
The uc_link field points to the context to resume when this context's
entry point function returns. If uc_link is equal to NULL, then the
process exits when this context returns.
The uc_mcontext field is machine-dependent and should be treated as
opaque by portable applications.
SEE ALSO
sigaltstack(2)
BUGS
The getcontext(), setcontext(), makecontext(), and swapcontext() func-
tions are not yet implemented in this version of FreeBSD.
FreeBSD 4.9 Sep 10, 2002 FreeBSD 4.9
This site maintained by
www@www-sbras.nsc.ru