source:
azure_iot_hub/trunk/musl-1.1.18/src/time/ctime.c
Last change on this file was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 124 bytes |
Rev | Line | |
---|---|---|
[388] | 1 | #include <time.h> |
2 | ||
3 | char *ctime(const time_t *t) | |
4 | { | |
5 | struct tm *tm = localtime(t); | |
6 | if (!tm) return 0; | |
7 | return asctime(tm); | |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.