[tz] Decoding timezone data
Thom Hehl
Thom at pointsix.com
Tue Nov 8 14:34:56 UTC 2011
I think the documentation is sufficient in this regard. I had no problem
understanding the width of the individual values, and putting the c
types in is only helpful if you're using C.
-----Original Message-----
From: tz-bounces at iana.org [mailto:tz-bounces at iana.org] On Behalf Of Ian
Abbott
Sent: Tuesday, November 08, 2011 7:26 AM
To: tz at iana.org
Subject: Re: [tz] Decoding timezone data
On 2011-11-08 12:14, Clive D.W. Feather wrote:
> Zefram said:
>>> As an aside, maybe tzfile.5 should use exact-width integer type
names
>>> from C99 stdint.h, such as "int32_t" instead of "long".
>
> One issue is that the exact-width integer types don't exist on all
systems
> and so aren't required by C99.
Well it would just be for documentation purposes to describe the layout
rather than for implementation purposes. The in-file ttinfo array can't
(typically or portably) be represented by an actual array of a C struct
type anyway.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti at mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
More information about the tz
mailing list