This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Format of "__tzinfo_type tzinfo"
- From: "Heiko" <kzt8zyom at 123mail dot org>
- To: newlib at sources dot redhat dot com
- Date: Tue, 03 Jun 2008 10:31:04 +0200
- Subject: Format of "__tzinfo_type tzinfo"
Hello,
I´ll use the time-functions from newlib.
Can somebody explain me the meaning of the elements from "__tzinfo_type
tzinfo" (\libc\time\gettzinfo.c)?
typedef struct __tzrule_struct
{
char ch;
int m;
int n;
int d;
int s;
time_t change;
long offset; /* Match type of _timezone. */
} __tzrule_type;
typedef struct __tzinfo_struct
{
int __tznorth;
int __tzyear;
__tzrule_type __tzrule[2];
} __tzinfo_type;
I need it for conversion from UTZ to CET/CEST.
Thanks and wbr
Heiko
--
http://www.fastmail.fm - Access your email from home and the web