summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-10-16 15:50:49 +0000
committermillert <millert@openbsd.org>2014-10-16 15:50:49 +0000
commit0cc708c33dd51ad763802f10ef4818a3a7032ad7 (patch)
treecd8e7c96a88139b45563cc0c258940412a24c27c /lib/libc
parentwe stopped building librt a while back. delete stubs. (diff)
downloadwireguard-openbsd-0cc708c33dd51ad763802f10ef4818a3a7032ad7.tar.xz
wireguard-openbsd-0cc708c33dd51ad763802f10ef4818a3a7032ad7.zip
Remove references to unimplemented CLOCK_VIRTUAL. It is non-standard
and existing implementations vary as to whether it returns time for the calling thread or the entire process. OK kettenis@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/clock_gettime.27
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index e53f79dac75..f90d3a8a675 100644
--- a/lib/libc/sys/clock_gettime.2
+++ b/lib/libc/sys/clock_gettime.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: clock_gettime.2,v 1.24 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: clock_gettime.2,v 1.25 2014/10/16 15:50:49 millert Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: October 16 2014 $
.Dt CLOCK_GETTIME 2
.Os
.Sh NAME
@@ -62,9 +62,6 @@ or one of five predefined values:
.Bl -tag -width CLOCK_MONOTONIC
.It Dv CLOCK_REALTIME
time that increments as a wall clock should
-.It Dv CLOCK_VIRTUAL
-time that increments only when
-the CPU is running in user mode on behalf of the calling process
.It Dv CLOCK_PROCESS_CPUTIME_ID
time that increments when the CPU is running in user or kernel mode
on behalf of the calling process