]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/sigprocmask.2
_syscall.2, bpf.2, cacheflush.2, capget.2, chdir.2, chmod.2, chroot.2, clock_getres...
[thirdparty/man-pages.git] / man2 / sigprocmask.2
index 66e14cf95eb15bcbbfb9c2efa0dd41e6e1f53428..630042ec134539923207e2a7ff381f2d0350f902 100644 (file)
@@ -62,7 +62,7 @@ blocked for the caller
 (see also
 .BR signal (7)
 for more details).
-
+.PP
 The behavior of the call is dependent on the value of
 .IR how ,
 as follows.
@@ -86,7 +86,7 @@ If
 .I oldset
 is non-NULL, the previous value of the signal mask is stored in
 .IR oldset .
-
+.PP
 If
 .I set
 is NULL, then the signal mask is unchanged (i.e.,
@@ -95,12 +95,12 @@ is ignored),
 but the current value of the signal mask is nevertheless returned in
 .I oldset
 (if it is not NULL).
-
+.PP
 A set of functions for modifying and inspecting variables of type
 .I sigset_t
 ("signal sets") is described in
 .BR sigsetops (3).
-
+.PP
 The use of
 .BR sigprocmask ()
 is unspecified in a multithreaded process; see
@@ -131,15 +131,15 @@ POSIX.1-2001, POSIX.1-2008.
 It is not possible to block
 .BR SIGKILL " or " SIGSTOP .
 Attempts to do so are silently ignored.
-
+.PP
 Each of the threads in a process has its own signal mask.
-
+.PP
 A child created via
 .BR fork (2)
 inherits a copy of its parent's signal mask;
 the signal mask is preserved across
 .BR execve (2).
-
+.PP
 If
 .BR SIGBUS ,
 .BR SIGFPE ,
@@ -157,7 +157,7 @@ or
 See
 .BR sigsetops (3)
 for details on manipulating signal sets.
-
+.PP
 Note that it is permissible (although not very useful) to specify both
 .I set
 and
@@ -165,7 +165,7 @@ and
 as NULL.
 .\"
 .SS C library/kernel differences
-
+.PP
 The kernel's definition of
 .IR sigset_t
 differs in size from that used
@@ -175,7 +175,7 @@ In this manual page, the former is referred to as
 (it is nevertheless named
 .I sigset_t
 in the kernel sources).
-
+.PP
 The glibc wrapper function for
 .BR sigprocmask ()
 silently ignores attempts to block the two real-time signals that
@@ -183,7 +183,7 @@ are used internally by the NPTL threading implementation.
 See
 .BR nptl (7)
 for details.
-
+.PP
 The original Linux system call was named
 .BR sigprocmask ().
 However, with the addition of real-time signals in Linux 2.2,
@@ -212,7 +212,7 @@ This argument is currently required to have a fixed architecture specific value
 .IR sizeof(kernel_sigset_t) ).
 .\" sizeof(kernel_sigset_t) == _NSIG / 8,
 .\" which equals to 8 on most architectures, but e.g. on MIPS it's 16.
-
+.PP
 The glibc
 .BR sigprocmask ()
 wrapper function hides these details from us, transparently calling