Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 remove documentation for (non-atomic) boottim...



details:   https://anonhg.NetBSD.org/src/rev/c6cc9340cddf
branches:  trunk
changeset: 1009236:c6cc9340cddf
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Apr 17 17:43:38 2020 +0000

description:
remove documentation for (non-atomic) boottime, it was eliminated
from kernel in 2020-01-02 by thorpej@

diffstat:

 share/man/man9/time_second.9 |  19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)

diffs (51 lines):

diff -r f1d3fcd0a611 -r c6cc9340cddf share/man/man9/time_second.9
--- a/share/man/man9/time_second.9      Fri Apr 17 17:24:46 2020 +0000
+++ b/share/man/man9/time_second.9      Fri Apr 17 17:43:38 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: time_second.9,v 1.7 2018/10/30 20:10:23 kre Exp $
+.\" $NetBSD: time_second.9,v 1.8 2020/04/17 17:43:38 jdolecek Exp $
 .\"
 .\" Copyright (c) 1994 Christopher G. Demetriou
 .\" All rights reserved.
@@ -32,20 +32,17 @@
 .\"
 .\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
 .\"
-.Dd October 30, 2018
+.Dd April 17, 2020
 .Dt TIME_SECOND 9
 .Os
 .Sh NAME
 .Nm time_second ,
 .Nm time_uptime ,
-.Nm boottime
 .Nd system time variables
 .Sh SYNOPSIS
 .In sys/time.h
 .Vt extern time_t time_second;
 .Vt extern time_t time_uptime;
-.In sys/kernel.h
-.Vt extern struct timespec boottime;
 .Sh DESCRIPTION
 The
 .Va time_second
@@ -67,18 +64,8 @@
 (It is not updated by
 .Xr settimeofday 2 . )
 .Pp
-The
-.Va boottime
-variable holds the system boot time.
-It is set at system boot, and is updated when the system time is adjusted
-with
-.Xr settimeofday 2 .
-The variable may be read and written without special precautions.
-.Pp
 All of these variables contain times
-expressed in seconds (and for
-.Va boottime ,
-nanoseconds) since midnight (0 hour),
+expressed in seconds since midnight (0 hour),
 January 1, 1970, UTC.
 .Pp
 The



Home | Main Index | Thread Index | Old Index