2 .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH UCONTEXT.H 3HEAD "Aug 30, 2002"
8 ucontext.h, ucontext \- user context
12 #include <\fBucontext.h\fR>
18 The <\fBucontext.h\fR> header defines the \fBucontext_t\fR type as a structure
19 that includes at least the following members:
26 mcontext_t uc_mcontext
32 The \fBuc_link\fR member is a pointer to the context that to be resumed when
33 this context returns. If \fBuc_link\fR is equal to 0, this context is the main
34 context and the process exits when this context returns.
37 The \fBuc_sigmask\fR member defines the set of signals that are blocked when
38 this context is active. See \fBsigprocmask\fR(2).
41 The \fBuc_stack\fR member defines the stack used by this context. See
45 The \fBuc_mcontext\fR member contains the saved set of machine registers and
46 any implementation-specific context data. Portable applications should not
47 modify or access \fBuc_mcontext\fR.
51 See \fBattributes\fR(5) for descriptions of the following attributes:
59 ATTRIBUTE TYPE ATTRIBUTE VALUE
61 Interface Stability Standard
67 \fBgetcontext\fR(2), \fBsigaction\fR(2), \fBsigaltstack\fR(2),
68 \fBsigprocmask\fR(2), \fBmakecontext\fR(3C), \fBattributes\fR(5),