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

Function puttzcodepass

zic.c:2590–2601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2588 convert(val, buf);
2589 fwrite(buf, sizeof buf, 1, fp);
2590}
2591
2592static void
2593puttzcodepass(zic_t val, FILE *fp, int pass)
2594{
2595 if (pass == 1)
2596 puttzcode(val, fp);
2597 else {
2598 char buf[8];
2599
2600 convert64(val, buf);
2601 fwrite(buf, sizeof buf, 1, fp);
2602 }
2603}
2604

Callers 1

writezoneFunction · 0.85

Calls 2

puttzcodeFunction · 0.85
convert64Function · 0.85

Tested by

no test coverage detected