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

Function puttzcode

zic.c:2581–2588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2579 for (i = 0, shift = 56; i < 8; ++i, shift -= 8)
2580 b[i] = (val >> shift) & 0xff;
2581}
2582
2583static void
2584puttzcode(zic_t val, FILE *fp)
2585{
2586 char buf[4];
2587
2588 convert(val, buf);
2589 fwrite(buf, sizeof buf, 1, fp);
2590}
2591

Callers 2

puttzcodepassFunction · 0.85
writezoneFunction · 0.85

Calls 1

convertFunction · 0.85

Tested by

no test coverage detected