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

Function localtime_r

zdump.c:195–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193# undef localtime_r
194# define localtime_r zdump_localtime_r
195static struct tm *
196localtime_r(time_t *tp, struct tm *tmp)
197{
198 struct tm *r = localtime(tp);
199 if (r) {
200 *tmp = *r;
201 r = tmp;
202 }
203 return r;
204}
205# endif
206
207# undef localtime_rz

Callers 2

ctime_rFunction · 0.70
localtime_rzFunction · 0.70

Calls 1

localtimeFunction · 0.85

Tested by

no test coverage detected