DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

ucontext(FP)


ucontext -- user context

Description

The <ucontext.h> header file defines the user context for an executing process and includes the following members:
   ucontext_t	uc_link
   sigset_t	uc_sigmask
   stack_t		uc_stack
   mcontext_t	uc_mcontext
The uc_link field is a pointer to the context to be resumed when the context returns. This context is the main context when uc_link is set to zero; the process exits when this context returns.

uc_sigmask defines a set of signals to be blocked when the context is active (see sigprocmask(S)).

uc_stack defines the stack to be used by the context (see sigaltstack(S)).

uc_mcontext contains the set of saved machine registers. Note that this field should not be accessed or modified by applications intended to be portable.

See also

getcontext(S), sigaction(S), sigaltstack(S), sigprocmask(S),

Standards conformance

<ucontext.h> is conformant with:
AT&T SVID Issue 3.


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003