OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [time/] [asctime.c] - Rev 1765

Compare with Previous | Blame | View Log

 
#include <time.h>
 
extern void __asctime();
 
char *
asctime(timeptr)
__const struct tm * timeptr;
{
   static char timebuf[26];
 
   if( timeptr == 0 ) return 0;
   __asctime(timebuf, timeptr);
   return timebuf;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.