| 27 | #define TZ_MAGIC "TZif" |
| 28 | |
| 29 | struct 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. . . |
nothing calls this directly
no outgoing calls
no test coverage detected