summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorakfaew <akfaew@openbsd.org>2016-09-03 17:02:22 +0000
committerakfaew <akfaew@openbsd.org>2016-09-03 17:02:22 +0000
commit4ef0c3f3f171d2d106e35487f2d6bbe402d76edd (patch)
treef83fcb52b8478dd8b1dd77c81596dca760c20be4 /lib
parentadd sha512/256 support to check that the libc code is right :) (diff)
downloadwireguard-openbsd-4ef0c3f3f171d2d106e35487f2d6bbe402d76edd.tar.xz
wireguard-openbsd-4ef0c3f3f171d2d106e35487f2d6bbe402d76edd.zip
Don't list individual valid CLOCK_* values, instead refer to
clock_gettime(2). ok guenther@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/__thrsleep.211
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/sys/__thrsleep.2 b/lib/libc/sys/__thrsleep.2
index 6765ac2f31e..2566d043fab 100644
--- a/lib/libc/sys/__thrsleep.2
+++ b/lib/libc/sys/__thrsleep.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: __thrsleep.2,v 1.5 2016/03/20 09:07:29 natano Exp $
+.\" $OpenBSD: __thrsleep.2,v 1.6 2016/09/03 17:02:22 akfaew Exp $
.\"
.\" Copyright (c) 2012 Philip Guenther <guenther@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 20 2016 $
+.Dd $Mdocdate: September 3 2016 $
.Dt __THRSLEEP 2
.Os
.Sh NAME
@@ -151,10 +151,9 @@ argument pointed to a non-zero value.
.It Bq Er EINVAL
The
.Fa clock_id
-argument is neither
-.Dv CLOCK_REALTIME
-nor
-.Dv CLOCK_MONOTONIC .
+argument is not a valid
+.Xr clock_gettime 2
+clock id.
.El
.Pp
.Fn __thrwakeup