diff options
author | 2003-08-11 05:37:59 +0000 | |
---|---|---|
committer | 2003-08-11 05:37:59 +0000 | |
commit | 1c3ef8cbb54ed7127e50e34879b7d7f55ae43aad (patch) | |
tree | 36b34e6b090e4c7ac6e08264b43cde3e39be1cb3 /lib/libc | |
parent | make dmesg prints closer to the rest of the drivers (diff) | |
download | wireguard-openbsd-1c3ef8cbb54ed7127e50e34879b7d7f55ae43aad.tar.xz wireguard-openbsd-1c3ef8cbb54ed7127e50e34879b7d7f55ae43aad.zip |
implement CLOCK_MONOTONIC from NetBSD; ok marc@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/clock_gettime.2 | 8 |
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 |