mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
9087163804
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
15 lines
177 B
C
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);
|
|
}
|