source:
trunk/libs/newlib/src/newlib/libc/time/ctime_r.c
@
444
Last change on this file since 444 was 444, checked in by , 6 years ago | |
---|---|
File size: 177 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | /* |
2 | * ctime_r.c | |
3 | */ | |
4 | ||
5 | #include <time.h> | |
6 | ||
7 | char * | |
8 | ctime_r (const time_t * tim_p, | |
9 | char * result) | |
10 | ||
11 | { | |
12 | struct tm tm; | |
13 | return asctime_r (localtime_r (tim_p, &tm), result); | |
14 | } |
Note: See TracBrowser
for help on using the repository browser.