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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [time/] [ctime_r.c] - Blame information for rev 1010

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

Line No. Rev Author Line
1 1010 ivang
/*
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.