makecontext.3: Minor rewording

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-11-17 13:11:12 +01:00
parent e066dcb35a
commit 6430ba7a90
2 changed files with 12 additions and 4 deletions

View File

@ -36,8 +36,12 @@ makecontext, swapcontext \- manipulate user context
.PP
.BI "int swapcontext(ucontext_t *" oucp ", const ucontext_t *" ucp );
.SH DESCRIPTION
In a System V-like environment, one has the type \fIucontext_t\fP defined in
In a System V-like environment, one has the type
.I ucontext_t
(defined in
.I <ucontext.h>
and described in
.BR getcontext (3))
and the four functions
.BR getcontext (3),
.BR setcontext (3),
@ -47,9 +51,6 @@ and
that allow user-level context switching
between multiple threads of control within a process.
.PP
For the type and the first two functions, see
.BR getcontext (3).
.PP
The
.BR makecontext ()
function modifies the context pointed to

View File

@ -287,6 +287,13 @@ the thread's current signal mask;
.IP +
the thread's alternate signal stack settings.
.RE
.IP
(If the signal handler was installed using the
.BR sigaction (2)
.B SA_SIGINFO
flag, then the above information is accessible via the
.I ucontext
pointer that is passed as the third argument of the signal handler.)
.IP d)
Any signals specified in
.I act\->sa_mask