mirror of https://github.com/mkerrisk/man-pages
fix xrefs
This commit is contained in:
parent
5998eb256a
commit
f9fe639ca9
|
@ -34,8 +34,8 @@ makecontext, swapcontext \- manipulate user context
|
|||
In a System V-like environment, one has the type \fIucontext_t\fP defined in
|
||||
.I <ucontext.h>
|
||||
and the four functions
|
||||
.BR getcontext (3),
|
||||
.BR setcontext (3),
|
||||
.BR getcontext (2),
|
||||
.BR setcontext (2),
|
||||
.BR makecontext ()
|
||||
and
|
||||
.BR swapcontext ()
|
||||
|
@ -49,7 +49,7 @@ The
|
|||
.BR makecontext ()
|
||||
function modifies the context pointed to
|
||||
by \fIucp\fP (which was obtained from a call to
|
||||
.BR getcontext (3)).
|
||||
.BR getcontext (2)).
|
||||
Before invoking
|
||||
.BR makecontext (),
|
||||
the caller must allocate a new stack
|
||||
|
@ -58,7 +58,7 @@ and define a successor context and
|
|||
assign its address to \fIucp->uc_link\fP.
|
||||
|
||||
When this context is later activated (using
|
||||
.BR setcontext (3)
|
||||
.BR setcontext (2)
|
||||
or
|
||||
.BR swapcontext ())
|
||||
the function \fIfunc\fP is called,
|
||||
|
@ -105,7 +105,7 @@ worry about this direction.
|
|||
.SH EXAMPLE
|
||||
.PP
|
||||
The example program below demonstrates the use of
|
||||
.BR getcontext (3),
|
||||
.BR getcontext (2),
|
||||
.BR makecontext (),
|
||||
and
|
||||
.BR swapcontext ().
|
||||
|
|
Loading…
Reference in New Issue