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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [time/] [lcltime_r.c] - Blame information for rev 207

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

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * localtime_r.c
3
 *
4
 * Converts the calendar time pointed to by tim_p into a broken-down time
5
 * expressed as local time. Returns a pointer to a structure containing the
6
 * broken-down time.
7
 */
8
 
9
#include <time.h>
10
#include "local.h"
11
 
12
struct tm *
13
_DEFUN (localtime_r, (tim_p, res),
14
        _CONST time_t * tim_p _AND
15
        struct tm *res)
16
{
17
  return _mktm_r (tim_p, res, 0);
18
}

powered by: WebSVN 2.1.0

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