URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [syscalls/] [sysgettod.c] - Rev 1765
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 }