aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Pawel Stefaniak <pstef@FreeBSD.org>2021-10-09 16:00:01 +0000
committerPiotr Pawel Stefaniak <pstef@FreeBSD.org>2021-10-11 16:57:58 +0000
commit4f556830dec19ec8821b2ff939ab181192ea4dfc (patch)
tree90dca2d0838b48ba45b99828bb5f927466753f53
parent2b68eb8e1dbbdaf6a0df1c83b26f5403ca52d4c3 (diff)
downloadsrc-4f556830dec19ec8821b2ff939ab181192ea4dfc.tar.gz
src-4f556830dec19ec8821b2ff939ab181192ea4dfc.zip
nanosleep.2: use appropriate macros
Reported by: kib Fixes: bf8f6ffcb66a
-rw-r--r--lib/libc/sys/nanosleep.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2
index 12758a974f7f..eb75c4b1043b 100644
--- a/lib/libc/sys/nanosleep.2
+++ b/lib/libc/sys/nanosleep.2
@@ -94,7 +94,10 @@ returns immediately and the calling thread is not suspended.
The suspension time may be longer than requested due to the
scheduling of other activity by the system.
It is also subject to the allowed time interval deviation
-specified by the sysctl kern.timecounter.alloweddeviation.
+specified by the
+.Va kern.timecounter.alloweddeviation
+.Xr sysctl 8
+variable.
An unmasked signal will terminate the sleep early, regardless of the
.Dv SA_RESTART
value on the interrupting signal.