MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ctime_r

Function ctime_r

components/libc/compilers/common/ctime.c:308–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306RTM_EXPORT(asctime);
307
308char *ctime_r(const time_t * tim_p, char * result)
309{
310 struct tm tm;
311 return asctime_r(localtime_r(tim_p, &tm), result);
312}
313RTM_EXPORT(ctime_r);
314
315char *ctime(const time_t *tim_p)

Callers

nothing calls this directly

Calls 2

asctime_rFunction · 0.85
localtime_rFunction · 0.85

Tested by

no test coverage detected