OSDN Git Service

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