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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [time/] [ctime_r.c] - Blame information for rev 823

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

Line No. Rev Author Line
1 148 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.