summaryrefslogtreecommitdiffstats
path: root/man3/pthread_sigmask.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/pthread_sigmask.315
1 files changed, 7 insertions, 8 deletions
diff --git a/man3/pthread_sigmask.3 b/man3/pthread_sigmask.3
index 724f1e9..fb923a8 100644
--- a/man3/pthread_sigmask.3
+++ b/man3/pthread_sigmask.3
@@ -4,7 +4,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH pthread_sigmask 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH pthread_sigmask 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
pthread_sigmask \- examine and change mask of blocked signals
.SH LIBRARY
@@ -13,16 +13,16 @@ POSIX threads library
.SH SYNOPSIS
.nf
.B #include <signal.h>
-.PP
+.P
.BI "int pthread_sigmask(int " how ", const sigset_t *" set \
", sigset_t *" oldset );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR pthread_sigmask ():
.nf
_POSIX_C_SOURCE >= 199506L || _XOPEN_SOURCE >= 500
@@ -35,7 +35,7 @@ function is just like
with the difference that its use in multithreaded programs
is explicitly specified by POSIX.1.
Other differences are noted in this page.
-.PP
+.P
For a description of the arguments and operation of this function, see
.BR sigprocmask (2).
.SH RETURN VALUE
@@ -60,14 +60,13 @@ T{
.BR pthread_sigmask ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY
POSIX.1-2001.
.SH NOTES
A new thread inherits a copy of its creator's signal mask.
-.PP
+.P
The glibc
.BR pthread_sigmask ()
function silently ignores attempts to block the two real-time signals that
@@ -80,7 +79,7 @@ The program below blocks some signals in the main thread,
and then creates a dedicated thread to fetch those signals via
.BR sigwait (3).
The following shell session demonstrates its use:
-.PP
+.P
.in +4n
.EX
.RB "$" " ./a.out &"