summaryrefslogtreecommitdiff
path: root/lib/libc/time/tzfile.5
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/time/tzfile.5')
-rw-r--r--lib/libc/time/tzfile.516
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc/time/tzfile.5 b/lib/libc/time/tzfile.5
index bafaf75f370..10818e881a6 100644
--- a/lib/libc/time/tzfile.5
+++ b/lib/libc/time/tzfile.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tzfile.5,v 1.4 1997/01/14 03:16:51 millert Exp $
+.\" $OpenBSD: tzfile.5,v 1.5 1998/01/18 23:24:59 millert Exp $
.TH TZFILE 5
.SH NAME
tzfile \- time zone information
@@ -8,7 +8,9 @@ tzfile \- time zone information
.SH DESCRIPTION
The time zone information files used by
.IR tzset (3)
-begin with bytes reserved for future use,
+begin with the magic characters "TZif" to identify then as
+time zone information files,
+followed by bytes reserved for future use,
followed by six four-byte values of type
.BR long ,
written in a ``standard'' byte order
@@ -17,7 +19,7 @@ These values are,
in order:
.TP
.I tzh_ttisgmtcnt
-The number of GMT/local indicators stored in the file.
+The number of UTC/local indicators stored in the file.
.TP
.I tzh_ttisstdcnt
The number of standard/wall indicators stored in the file.
@@ -78,7 +80,7 @@ and a one-byte value for
.IR tt_abbrind .
In each structure,
.I tt_gmtoff
-gives the number of seconds to be added to GMT,
+gives the number of seconds to be added to UTC,
.I tt_isdst
tells whether
.I tm_isdst
@@ -113,9 +115,9 @@ time zone environment variables.
.PP
Finally there are
.I tzh_ttisgmtcnt
-GMT/local indicators, each stored as a one-byte value;
+UTC/local indicators, each stored as a one-byte value;
they tell whether the transition times associated with local time types
-were specified as GMT or local time,
+were specified as UTC or local time,
and are used when a time zone file is used in handling POSIX-style
time zone environment variables.
.PP
@@ -132,6 +134,6 @@ is zero or the time argument is less than the first transition time recorded
in the file.
.SH SEE ALSO
ctime(3)
-.\" @(#)tzfile.5 7.5
+.\" @(#)tzfile.5 7.10
.\" This file is in the public domain, so clarified as of
.\" 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).