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

14 lines
261 B
C

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