Module Name: src Committed By: jdolecek Date: Fri Apr 17 17:43:38 UTC 2020
Modified Files: src/share/man/man9: time_second.9 Log Message: remove documentation for (non-atomic) boottime, it was eliminated from kernel in 2020-01-02 by thorpej@ To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/time_second.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/time_second.9 diff -u src/share/man/man9/time_second.9:1.7 src/share/man/man9/time_second.9:1.8 --- src/share/man/man9/time_second.9:1.7 Tue Oct 30 20:10:23 2018 +++ src/share/man/man9/time_second.9 Fri Apr 17 17:43:38 2020 @@ -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 set at boot, and is updated period (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