Module Name: src Committed By: jruoho Date: Wed Apr 28 13:23:02 UTC 2010
Modified Files: src/share/man/man2: ucontext.2 Log Message: Improvements to markup. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man2/ucontext.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man2/ucontext.2 diff -u src/share/man/man2/ucontext.2:1.3 src/share/man/man2/ucontext.2:1.4 --- src/share/man/man2/ucontext.2:1.3 Wed Apr 30 13:10:53 2008 +++ src/share/man/man2/ucontext.2 Wed Apr 28 13:23:02 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: ucontext.2,v 1.3 2008/04/30 13:10:53 martin Exp $ +.\" $NetBSD: ucontext.2,v 1.4 2010/04/28 13:23:02 jruoho Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 13, 2001 +.Dd April 28, 2010 .Dt UCONTEXT 2 .Os .Sh NAME @@ -36,17 +36,21 @@ .Sh SYNOPSIS .In ucontext.h .Sh DESCRIPTION -.Nm ucontext_t +The +.Vt ucontext_t is a structure type which is used to describe the context of a thread of control within the execution of a process. +A thread's context includes its stack, saved registers, and list of +blocked signals. .Pp -.Nm ucontext_t -includes the following members: +The +.Vt ucontext_t +structure includes the following members: .Bd -literal -offset indent -ucontext_t * uc_link -sigset_t uc_sigmask -stack_t uc_stack -mcontext_t uc_mcontext +ucontext_t *uc_link +sigset_t uc_sigmask +stack_t uc_stack +mcontext_t uc_mcontext .Ed .Pp The @@ -57,7 +61,9 @@ has returned. If .Fa uc_link -is a null pointer, then the context is the main context, +is a +.Dv NULL +pointer, then the context is the main context, and the process will exit with an exit status of 0 upon return. .Pp The