MCPcopy Create free account
hub / github.com/eggert/tz / tzhead

Class tzhead

tzfile.h:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#define TZ_MAGIC "TZif"
28
29struct tzhead {
30 char tzh_magic[4]; /* TZ_MAGIC */
31 char tzh_version[1]; /* '\0' or '2'-'4' as of 2021 */
32 char tzh_reserved[15]; /* reserved; must be zero */
33 char tzh_ttisutcnt[4]; /* coded number of trans. time flags */
34 char tzh_ttisstdcnt[4]; /* coded number of trans. time flags */
35 char tzh_leapcnt[4]; /* coded number of leap seconds */
36 char tzh_timecnt[4]; /* coded number of transition times */
37 char tzh_typecnt[4]; /* coded number of local time types */
38 char tzh_charcnt[4]; /* coded number of abbr. chars */
39};
40
41/*
42** . . .followed by. . .

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected