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

Function acl_logtime_fmt

lib_acl/src/stdlib/acl_mylog.c:697–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695}
696
697void acl_logtime_fmt(char *buf, size_t size)
698{
699 time_t now;
700 struct tm local_time;
701
702 (void) time (&now);
703 (void) acl_localtime_r(&now, &local_time);
704 strftime(buf, size, "%Y/%m/%d %H:%M:%S", &local_time);
705}
706
707#ifdef ACL_UNIX
708

Callers 3

file_vsyslogFunction · 0.85
msg_infoFunction · 0.85
msg_errorFunction · 0.85

Calls 1

acl_localtime_rFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…