|
NAMEucontext —
user thread context
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <ucontext.h>
DESCRIPTIONThe 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:
The uc_link field points to the context to
resume when this context's entry point function returns. If
uc_link is equal to The uc_mcontext field is machine-dependent and should be treated as opaque by portable applications. The following functions are defined to manipulate ucontext_t structures:
SEE ALSOsigaltstack(2), getcontext(3), getcontextx(3), makecontext(3)STANDARDSThe ucontext_t type conforms to X/Open System Interfaces and Headers Issue 5 (“XSH5”) and IEEE Std 1003.1-2001 (“POSIX.1”). The IEEE Std 1003.1-2008 (“POSIX.1”) revision removed the ucontext_t from the specification.
Visit the GSP FreeBSD Man Page Interface. |