Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 boottime is a timespec these days.



details:   https://anonhg.NetBSD.org/src/rev/68779e690d09
branches:  trunk
changeset: 822322:68779e690d09
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue Mar 14 07:23:50 2017 +0000

description:
boottime is a timespec these days.
>From Tomoyuki Sahara in PR 52059.

diffstat:

 share/man/man9/time_second.9 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 1a22061fb2d8 -r 68779e690d09 share/man/man9/time_second.9
--- a/share/man/man9/time_second.9      Tue Mar 14 07:02:53 2017 +0000
+++ b/share/man/man9/time_second.9      Tue Mar 14 07:23:50 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: time_second.9,v 1.5 2011/03/13 05:03:21 jruoho Exp $
+.\" $NetBSD: time_second.9,v 1.6 2017/03/14 07:23:50 dholland Exp $
 .\"
 .\" Copyright (c) 1994 Christopher G. Demetriou
 .\" All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
 .\"
-.Dd March 13, 2008
+.Dd March 14, 2017
 .Dt TIME_SECOND 9
 .Os
 .Sh NAME
@@ -45,7 +45,7 @@
 .Vt extern time_t time_second;
 .Vt extern time_t time_uptime;
 .In sys/kernel.h
-.Vt extern struct timeval boottime;
+.Vt extern struct timespec boottime;
 .Sh DESCRIPTION
 The
 .Va time_second
@@ -76,7 +76,7 @@
 The variable may be read and written without special precautions.
 .Pp
 All of these variables contain times
-expressed in seconds and microseconds since midnight (0 hour),
+expressed in seconds and nanoseconds since midnight (0 hour),
 January 1, 1970.
 .Pp
 The
@@ -103,6 +103,6 @@
 .Sh SEE ALSO
 .Xr clock_settime 2 ,
 .Xr ntp_adjtime 2 ,
-.Xr timeval 3 ,
+.Xr timespec 3 ,
 .Xr hardclock 9 ,
 .Xr hz 9



Home | Main Index | Thread Index | Old Index