source:
azure_iot_hub_mbedtls/trunk/musl-1.1.18/src/time/ctime_r.c@
400
Last change on this file since 400 was 398, checked in by , 5 years ago | |
---|---|
|
|
File size: 150 bytes |
Rev | Line | |
---|---|---|
[398] | 1 | #include <time.h> |
2 | ||
3 | char *ctime_r(const time_t *t, char *buf) | |
4 | { | |
5 | struct tm tm, *tm_p = localtime_r(t, &tm); | |
6 | return tm_p ? asctime_r(tm_p, buf) : 0; | |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.