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

Subversion Repositories openrisc

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

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

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