/* See Internet RFC 8536 for more details about the following format. */
/* **Eachfilebeginswith...
*/
#define TZ_MAGIC "TZif"
struct tzhead { char tzh_magic[4]; /* TZ_MAGIC */ char tzh_version[1]; /* '\0' or '2'-'4' as of 2021 */ char tzh_reserved[15]; /* reserved; must be zero */ char tzh_ttisutcnt[4]; /* coded number of trans. time flags */ char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */ char tzh_leapcnt[4]; /* coded number of leap seconds */ char tzh_timecnt[4]; /* coded number of transition times */ char tzh_typecnt[4]; /* coded number of local time types */ char tzh_charcnt[4]; /* coded number of abbr. chars */
};
#ifndef TZ_MAX_TIMES /* This must be at least 242 for Europe/London with 'zic -b fat'. */ # define TZ_MAX_TIMES 2000 #endif/* !defined TZ_MAX_TIMES */
#ifndef TZ_MAX_TYPES /* This must be at least 18 for Europe/Vilnius with 'zic -b fat'. */ # define TZ_MAX_TYPES 256/* Limited by what (unsigned char)'s can hold */ #endif/* !defined TZ_MAX_TYPES */
#ifndef TZ_MAX_CHARS /* This must be at least 40 for America/Anchorage. */ # define TZ_MAX_CHARS 50/* Maximum number of abbreviation characters */ /* (limited by what unsigned chars can hold) */ #endif/* !defined TZ_MAX_CHARS */
#ifndef TZ_MAX_LEAPS /* This must be at least 27 for leap seconds from 1972 through mid-2023.
There's a plan to discontinue leap seconds by 2035. */ # define TZ_MAX_LEAPS 50/* Maximum number of leap second corrections */ #endif/* !defined TZ_MAX_LEAPS */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.