Print this page
Minor markup tweaks (Sy instead of Nm).
fix incorrect standard citations
first round of POSIX 2008 stuff
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3head/ucontext.h.3head
+++ new/usr/src/man/man3head/ucontext.h.3head
1 -'\" te
1 +.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
2 2 .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
3 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 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 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"
7 -.SH NAME
8 -ucontext.h, ucontext \- user context
9 -.SH SYNOPSIS
10 -.LP
11 -.nf
12 -#include <\fBucontext.h\fR>
13 -.fi
14 -
15 -.SH DESCRIPTION
16 -.sp
17 -.LP
18 -The <\fBucontext.h\fR> header defines the \fBucontext_t\fR type as a structure
19 -that includes at least the following members:
20 -.sp
21 -.in +2
22 -.nf
23 -ucontext_t uc_link
24 -sigset_t uc_sigmask
25 -stack_t uc_stack
26 -mcontext_t uc_mcontext
27 -.fi
28 -.in -2
29 -
30 -.sp
31 -.LP
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
6 +.Dd "Jul 20, 2014"
7 +.Dt UCONTEXT.H 3HEAD
8 +.Os
9 +.Sh NAME
10 +.Nm ucontext.h, ucontext
11 +.Nd user context
12 +.Sh SYNOPSIS
13 +.In ucontext.h
14 +.Sh DESCRIPTION
15 +The
16 +.In ucontext.h
17 +header defines the
18 +.Ft ucontext_t
19 +type as a structure that includes at least the following members:
20 +.Bl -column -offset indent "ucontext_t" "uc_mcontext"
21 +.It Ft ucontext_t Fa uc_link ;
22 +.It Ft sigset_t Fa uc_sigmask ;
23 +.It Ft stack_t Fa uc_stack ;
24 +.It Ft mcontext_t Fa uc_mcontext ;
25 +.El
26 +.Lp
27 +The
28 +.Fa uc_link
29 +member is a pointer to the context that to be resumed when
30 +this context returns. If
31 +.Fa uc_link
32 +is equal to 0, this context is the main
34 33 context and the process exits when this context returns.
35 -.sp
36 -.LP
37 -The \fBuc_sigmask\fR member defines the set of signals that are blocked when
38 -this context is active. See \fBsigprocmask\fR(2).
39 -.sp
40 -.LP
41 -The \fBuc_stack\fR member defines the stack used by this context. See
42 -\fBsigaltstack\fR(2).
43 -.sp
44 -.LP
45 -The \fBuc_mcontext\fR member contains the saved set of machine registers and
34 +.Lp
35 +The
36 +.Fa uc_sigmask
37 +member defines the set of signals that are blocked when
38 +this context is active. See
39 +.Xr sigprocmask 2 .
40 +.Lp
41 +The
42 +.Fa uc_stack
43 +member defines the stack used by this context. See
44 +.Xr sigaltstack 2 .
45 +.Lp
46 +The
47 +.Fa uc_mcontext
48 +member contains the saved set of machine registers and
46 49 any implementation-specific context data. Portable applications should not
47 -modify or access \fBuc_mcontext\fR.
48 -.SH ATTRIBUTES
49 -.sp
50 -.LP
51 -See \fBattributes\fR(5) for descriptions of the following attributes:
52 -.sp
53 -
54 -.sp
55 -.TS
56 -box;
57 -c | c
58 -l | l .
59 -ATTRIBUTE TYPE ATTRIBUTE VALUE
60 -_
61 -Interface Stability Standard
62 -.TE
63 -
64 -.SH SEE ALSO
65 -.sp
66 -.LP
67 -\fBgetcontext\fR(2), \fBsigaction\fR(2), \fBsigaltstack\fR(2),
68 -\fBsigprocmask\fR(2), \fBmakecontext\fR(3C), \fBattributes\fR(5),
69 -\fBstandards\fR(5)
50 +modify or access
51 +.Fa uc_mcontext .
52 +.Sh INTERFACE STABILITY
53 +.Sy Obsolete Standard .
54 +.Sh SEE ALSO
55 +.Xr getcontext 2 ,
56 +.Xr sigaction 2 ,
57 +.Xr sigaltstack 2 ,
58 +.Xr sigprocmask 2 ,
59 +.Xr makecontext 3C ,
60 +.Xr standards 5
61 +.Sh STANDARDS
62 +The
63 +.In ucontext.h
64 +header was introduced in
65 +.St -xpg4.2 .
66 +It was subsequently obsoleted in
67 +.St -p1003.1-2001 ,
68 +and removed in
69 +.St -p1003.1-2008 .
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX