summaryrefslogtreecommitdiffstats
path: root/man3/makecontext.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/makecontext.3')
-rw-r--r--man3/makecontext.326
1 files changed, 13 insertions, 13 deletions
diff --git a/man3/makecontext.3 b/man3/makecontext.3
index 4ee3cc2c4..b2d0f5459 100644
--- a/man3/makecontext.3
+++ b/man3/makecontext.3
@@ -27,10 +27,10 @@ In a System V-like environment, one has the type
(defined in
.I <ucontext.h>
and described in
-.BR getcontext (3))
+.MR getcontext 3 )
and the four functions
-.BR getcontext (3),
-.BR setcontext (3),
+.MR getcontext 3 ,
+.MR setcontext 3 ,
.BR makecontext (),
and
.BR swapcontext ()
@@ -41,7 +41,7 @@ The
.BR makecontext ()
function modifies the context pointed to
by \fIucp\fP (which was obtained from a call to
-.BR getcontext (3)).
+.MR getcontext 3 ).
Before invoking
.BR makecontext (),
the caller must allocate a new stack
@@ -50,7 +50,7 @@ and define a successor context and
assign its address to \fIucp\->uc_link\fP.
.P
When this context is later activated (using
-.BR setcontext (3)
+.MR setcontext 3
or
.BR swapcontext ())
the function \fIfunc\fP is called,
@@ -87,7 +87,7 @@ to indicate the error.
Insufficient stack space left.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lb lb lbx
@@ -122,7 +122,7 @@ citing portability issues, and
recommending that applications be rewritten to use POSIX threads instead.
.SH NOTES
The interpretation of \fIucp\->uc_stack\fP is just as in
-.BR sigaltstack (2),
+.MR sigaltstack 2 ,
namely, this struct contains the start and length of a memory area
to be used as the stack, regardless of the direction of growth of
the stack.
@@ -146,7 +146,7 @@ Nevertheless, starting with glibc 2.8, glibc makes some changes to
to permit this on some 64-bit architectures (e.g., x86-64).
.SH EXAMPLES
The example program below demonstrates the use of
-.BR getcontext (3),
+.MR getcontext 3 ,
.BR makecontext (),
and
.BR swapcontext ().
@@ -229,8 +229,8 @@ main(int argc, char *argv[])
.EE
.\" SRC END
.SH SEE ALSO
-.BR sigaction (2),
-.BR sigaltstack (2),
-.BR sigprocmask (2),
-.BR getcontext (3),
-.BR sigsetjmp (3)
+.MR sigaction 2 ,
+.MR sigaltstack 2 ,
+.MR sigprocmask 2 ,
+.MR getcontext 3 ,
+.MR sigsetjmp 3