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

Function localtime

localtime.c:2227–2234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2225}
2226
2227struct tm *
2228localtime(const time_t *timep)
2229{
2230# if !SUPPORT_C89
2231 static struct tm tm;
2232# endif
2233 return localtime_tzset(timep, tm_multi(&tm, LOCALTIME_TM_MULTI), true);
2234}
2235
2236struct tm *
2237localtime_r(const time_t *restrict timep, struct tm *restrict tmp)

Callers 3

ctimeFunction · 0.85
displayFunction · 0.85
localtime_rFunction · 0.85

Calls 2

localtime_tzsetFunction · 0.85
tm_multiFunction · 0.70

Tested by

no test coverage detected