settimeofday(2): Remove stale note about timezone

Contrary to the removed comment, the kernel does appear to use the timezone
argument of settimeofday.  The comment dates to the BSD4.4 import; I assume it
is just stale.
This commit is contained in:
cem 2018-08-04 22:08:24 +00:00
parent 627fbf85f7
commit 0332989c05

View File

@ -28,7 +28,7 @@
.\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95
.\" $FreeBSD$
.\"
.Dd December 27, 2015
.Dd August 4, 2018
.Dt GETTIMEOFDAY 2
.Os
.Sh NAME
@ -44,11 +44,6 @@
.Ft int
.Fn settimeofday "const struct timeval *tp" "const struct timezone *tzp"
.Sh DESCRIPTION
.Bf -symbolic
Note: timezone is no longer used; this information is kept outside
the kernel.
.Ef
.Pp
The system's notion of the current Greenwich time and the current time
zone is obtained with the
.Fn gettimeofday