aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-11-17 13:11:12 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-11-17 13:12:18 +0100
commit6430ba7a90efa0dff602a0e793717513677a7df4 (patch)
tree229f7cd03f4a868a216d99920efb6cb5f0fc6811
parente066dcb35a22e10404c5190d339064bfc3ba8358 (diff)
downloadman-pages-6430ba7a90efa0dff602a0e793717513677a7df4.tar.gz
makecontext.3: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/makecontext.39
-rw-r--r--man7/signal.77
2 files changed, 12 insertions, 4 deletions
diff --git a/man3/makecontext.3 b/man3/makecontext.3
index 791fc6ace2..72962ff3d1 100644
--- a/man3/makecontext.3
+++ b/man3/makecontext.3
@@ -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
diff --git a/man7/signal.7 b/man7/signal.7
index d0a1eb5b20..3bff11debd 100644
--- a/man7/signal.7
+++ b/man7/signal.7
@@ -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