source: trunk/libs/newlib/src/newlib/libc/time/ctime_r.c @ 543

Last change on this file since 543 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 177 bytes
Line 
1/*
2 * ctime_r.c
3 */
4
5#include <time.h>
6
7char *
8ctime_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.