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