aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/sigwaitinfo.213
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/sys/sigwaitinfo.2 b/lib/libc/sys/sigwaitinfo.2
index b497592ed1f3..bb060811f5d7 100644
--- a/lib/libc/sys/sigwaitinfo.2
+++ b/lib/libc/sys/sigwaitinfo.2
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 27, 2012
+.Dd April 21, 2022
.Dt SIGTIMEDWAIT 2
.Os
.Sh NAME
@@ -70,7 +70,9 @@ If
.Fa timeout
is the
.Dv NULL
-pointer, the behavior is unspecified.
+pointer,
+.Fn sigtimedwait
+blocks indefinitely.
.Dv CLOCK_MONOTONIC
clock is used to measure the time interval specified by the
.Fa timeout
@@ -204,3 +206,10 @@ and
.Fn sigwaitinfo
system calls conform to
.St -p1003.1-96 .
+POSIX
+leaves the behavior of
+.Fn sigtimedwait
+with a
+.Dv NULL
+.Fa timeout
+pointer unspecified.