Retro68/gcc/newlib/libc/time/ctime_r.c
Wolfgang Thaller ec13cc9ce7 fix newlib
2018-12-29 09:59:36 +01:00

15 lines
177 B
C

/*
* ctime_r.c
*/
#include <time.h>
char *
ctime_r (const time_t * tim_p,
char * result)
{
struct tm tm;
return asctime_r (localtime_r (tim_p, &tm), result);
}