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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [syscalls/] [sysgettod.c] - Rev 1774

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

/* connector for gettimeofday */
 
#include <reent.h>
#include <sys/types.h>
#include <sys/times.h>
 
struct timeval;
struct timezone;
 
int
gettimeofday (ptimeval, ptimezone)
     struct timeval *ptimeval;
     struct timezone *ptimezone;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _gettimeofday_r (_REENT, ptimeval, ptimezone);
#else
  return _gettimeofday (ptimeval, ptimezone);
#endif
}
 

Go to most recent revision | 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.