summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-12-09 11:05:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-12-09 11:05:10 +0000
commit6b8cd88f45d39698bd13d3b9ebf7212b42891f4c (patch)
tree6e7cbbc0d31869c2eb59e79d06d0d99c40156289 /lib/libc
parent62e8aabd3a8153b9b2bf9be54bd64d1e44552d68 (diff)
clock_id has 4 possible values, not 3; from Alistair Kerr (PR 3600);
also, .Aq instead of .Ao/.Ac; indent display and remove .Pp;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/clock_gettime.29
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index 2545fd67be4..0b8b7287854 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.14 2003/08/11 05:38:02 kevlo Exp $
+.\" $OpenBSD: clock_gettime.2,v 1.15 2003/12/09 11:05:09 jmc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -53,7 +53,7 @@ which is specified by
.Fa clock_id .
.Pp
.Fa clock_id
-can be one of three values:
+can be one of four values:
.Dv CLOCK_REALTIME
for time that increments as
a wall clock should,
@@ -68,10 +68,9 @@ for time that increments at a steady rate (monotonically).
The structure pointed to by
.Fa tp
is defined in
-.Ao Pa sys/time.h Ac
+.Aq Pa sys/time.h
as:
-.Pp
-.Bd -literal
+.Bd -literal -offset indent
struct timespec {
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */