tzfile.5: Rework text describing header as a list

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-05-02 09:59:01 +02:00
parent f09abf6d41
commit 7291261fc4
1 changed files with 14 additions and 7 deletions

View File

@ -16,18 +16,24 @@ These files are typically found under one of the directories
or or
.IR /usr/share/zoneinfo . .IR /usr/share/zoneinfo .
Timezone information files Timezone information files begin with a 44-byte header structured as follows:
begin with the magic characters "TZif" to identify them as .IP * 3
timezone information files, The magic four-byte sequence
followed by a character identifying the version of the file's format "TZif" identifying this as a
(as of 2005, either an ASCII NUL (\(aq\\0\(aq) or a \(aq2\(aq (\fB0x32\fP)) timezone information file.
followed by fifteen bytes containing zeros reserved for future use, .IP *
followed by six four-byte values of type A single character identifying the version of the file's format:
either an ASCII NUL (\(aq\\0\(aq) or a \(aq2\(aq (\fB0x32\fP).
.IP *
Fifteen bytes containing zeros reserved for future use.
.IP *
Six four-byte values of type
.IR long , .IR long ,
written in a "standard" byte order written in a "standard" byte order
(the high-order byte of the value is written first). (the high-order byte of the value is written first).
These values are, These values are,
in order: in order:
.RS
.TP .TP
.I tzh_ttisgmtcnt .I tzh_ttisgmtcnt
The number of UTC/local indicators stored in the file. The number of UTC/local indicators stored in the file.
@ -49,6 +55,7 @@ in the file (must not be zero).
.I tzh_charcnt .I tzh_charcnt
The number of characters of "timezone abbreviation strings" The number of characters of "timezone abbreviation strings"
stored in the file. stored in the file.
.RE
.PP .PP
The above header is followed by The above header is followed by
.I tzh_timecnt .I tzh_timecnt