OSDN Git Service

Initial revision
[uclinux-h8/uClibc.git] / libc / misc / time / asctime_r.c
1
2 #include <time.h>
3
4 extern void __asctime();
5
6 char *
7 asctime_r(timeptr, buf)
8 __const struct tm * timeptr;
9 char * buf;
10 {
11
12    if( timeptr == 0 ) return 0;
13    __asctime(buf, timeptr);
14    return buf;
15 }