URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 40 |
Rev 1765 |
/*
|
/*
|
* ctime_r.c
|
* ctime_r.c
|
*/
|
*/
|
|
|
#include <time.h>
|
#include <time.h>
|
|
|
char *
|
char *
|
_DEFUN (ctime_r, (tim_p, result),
|
_DEFUN (ctime_r, (tim_p, result),
|
_CONST time_t * tim_p _AND
|
_CONST time_t * tim_p _AND
|
char * result)
|
char * result)
|
|
|
{
|
{
|
struct tm tm;
|
struct tm tm;
|
return asctime_r (localtime_r (tim_p, &tm), result);
|
return asctime_r (localtime_r (tim_p, &tm), result);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.