gettimeofday.2: Minor tweaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-12-16 15:13:29 +01:00
parent 43d6713ebe
commit 53e0c29347
1 changed files with 6 additions and 5 deletions

View File

@ -189,15 +189,17 @@ Traditionally, the fields of
.I struct timeval
were of type
.IR long .
.\"
.SS The tz_dsttime field
On a non-Linux kernel, with glibc, the
.I tz_dsttime
field of
.I struct timezone
will be set to a non-zero value by
will be set to a nonzero value by
.BR gettimeofday ()
if the current timezone has ever had or will have a daylight saving
rule applied. In this sense it exactly mirrors the meaning of
rule applied.
In this sense it exactly mirrors the meaning of
.BR daylight (3)
for the current zone.
On Linux, with glibc, the setting of the
@ -212,8 +214,7 @@ or
.\" been and will not be supported by libc or glibc.
.\" Each and every occurrence of this field in the kernel source
.\" (other than the declaration) is a bug.
Thus, the following
is purely of historical interest.
Thus, the following is purely of historical interest.
On old systems, the field
.I tz_dsttime