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

Function tzset

localtime.c:1976–1987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1974}
1975#endif
1976
1977#if !USE_TIMEX_T
1978
1979void
1980tzset(void)
1981{
1982 monotime_t now = get_monotonic_time();
1983 int err = lock();
1984 if (0 < err) {
1985 errno = err;
1986 return;
1987 }
1988 tzset_unlocked(!err, false, now);
1989 unlock(!err);
1990}

Callers

nothing calls this directly

Calls 4

get_monotonic_timeFunction · 0.85
lockFunction · 0.85
tzset_unlockedFunction · 0.85
unlockFunction · 0.85

Tested by

no test coverage detected