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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc2/] [newlib/] [libc/] [time/] [lcltime_r.c] - Diff between revs 207 and 520

Only display areas with differences | Details | Blame | View Log

Rev 207 Rev 520
/*
/*
 * localtime_r.c
 * localtime_r.c
 *
 *
 * Converts the calendar time pointed to by tim_p into a broken-down time
 * Converts the calendar time pointed to by tim_p into a broken-down time
 * expressed as local time. Returns a pointer to a structure containing the
 * expressed as local time. Returns a pointer to a structure containing the
 * broken-down time.
 * broken-down time.
 */
 */
 
 
#include <time.h>
#include <time.h>
#include "local.h"
#include "local.h"
 
 
struct tm *
struct tm *
_DEFUN (localtime_r, (tim_p, res),
_DEFUN (localtime_r, (tim_p, res),
        _CONST time_t * tim_p _AND
        _CONST time_t * tim_p _AND
        struct tm *res)
        struct tm *res)
{
{
  return _mktm_r (tim_p, res, 0);
  return _mktm_r (tim_p, res, 0);
}
}
 
 

powered by: WebSVN 2.1.0

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