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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [time/] [gmtime_r.c] - Rev 1782

Compare with Previous | Blame | View Log

/*
 * gmtime_r.c
 */
 
#include <time.h>
 
#define _GMT_OFFSET 0
 
struct tm *
_DEFUN (gmtime_r, (tim_p, res),
	_CONST time_t * tim_p _AND
	struct tm *res)
{
  time_t tim = *tim_p + _GMT_OFFSET;
 
  return (localtime_r (&tim, res));
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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