OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [time/] [ctime_r.c] - Blame information for rev 252

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * ctime_r.c
3
 */
4
 
5
#include <time.h>
6
 
7
char *
8
_DEFUN (ctime_r, (tim_p, result),
9
        _CONST time_t * tim_p _AND
10
        char * result)
11
 
12
{
13
  struct tm tm;
14
  return asctime_r (localtime_r (tim_p, &tm), result);
15
}

powered by: WebSVN 2.1.0

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