summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2003-08-11 05:38:06 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2003-08-11 05:38:06 +0000
commitecfc294939048931f95bd235205183d29146563f (patch)
tree679d9832d28c11718bccde9ce2c2d2d3386bc605 /lib/libc
parentc450a44e46615b60372c7f8e4147b73c70711c33 (diff)
implement CLOCK_MONOTONIC from NetBSD; ok marc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/clock_gettime.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index e9746ecdd5f..2545fd67be4 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.13 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: clock_gettime.2,v 1.14 2003/08/11 05:38:02 kevlo Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -59,9 +59,11 @@ for time that increments as
a wall clock should,
.Dv CLOCK_VIRTUAL
for time that increments only when
-the CPU is running in user mode on behalf of the calling process, or
+the CPU is running in user mode on behalf of the calling process,
.Dv CLOCK_PROF
-for time that increments when the CPU is running in user or kernel mode.
+for time that increments when the CPU is running in user or kernel mode, or
+.Dv CLOCK_MONOTONIC
+for time that increments at a steady rate (monotonically).
.Pp
The structure pointed to by
.Fa tp