newlib-cygwin/newlib/libc/syscalls/sysgettod.c

17 lines
311 B
C

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