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

14 lines
265 B
C

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