diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
commit | 7f3caba522f4d24764f29d83aa2de9198bb7f01c (patch) | |
tree | 66b798ea74302325d6a5c11df044cbe4bb845af1 /man3/sigwait.3 | |
parent | Adding upstream version 6.7. (diff) | |
download | manpages-7f3caba522f4d24764f29d83aa2de9198bb7f01c.tar.xz manpages-7f3caba522f4d24764f29d83aa2de9198bb7f01c.zip |
Adding upstream version 6.8.upstream/6.8upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | man/man3/sigwait.3 (renamed from man3/sigwait.3) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/man3/sigwait.3 b/man/man3/sigwait.3 index 2ac7d0e..f79c917 100644 --- a/man3/sigwait.3 +++ b/man/man3/sigwait.3 @@ -4,7 +4,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH sigwait 3 2023-10-31 "Linux man-pages 6.7" +.TH sigwait 3 2024-05-02 "Linux man-pages (unreleased)" .SH NAME sigwait \- wait for a signal .SH LIBRARY @@ -36,6 +36,9 @@ function suspends execution of the calling thread until one of the signals specified in the signal set .I set becomes pending. +For a signal to become pending, +it must first be blocked with +.BR sigprocmask (2). The function accepts the signal (removes it from the pending list of signals), and returns the signal number in @@ -81,7 +84,9 @@ T} Thread safety MT-Safe .SH VERSIONS .BR sigwait () is implemented using -.BR sigtimedwait (2). +.BR sigtimedwait (2); +consult its +.BR NOTES . .P The glibc implementation of .BR sigwait () |