MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_localtime_r

Function acl_localtime_r

lib_acl/src/stdlib/string/acl_localtime.c:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145static acl_pthread_once_t once_control = ACL_PTHREAD_ONCE_INIT;
146
147struct tm *acl_localtime_r(const time_t *t, struct tm *result)
148{
149 if (acl_pthread_once(&once_control, timezone_init) != 0) {
150 abort();
151 }
152 nolocks_localtime(result, *t, timezone, daylight_active);
153 return result;
154}
155
156#elif defined(ACL_WINDOWS)
157

Callers 3

acl_logtime_fmtFunction · 0.85
to_dateMethod · 0.85
mkdate_cstMethod · 0.85

Calls 4

acl_pthread_onceFunction · 0.85
nolocks_localtimeFunction · 0.85
memcpyFunction · 0.85
localtime_rFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…