source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/time/ctime_r.c@
387
Last change on this file since 387 was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 150 bytes |
Rev | Line | |
---|---|---|
[352] | 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.