mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 11:31:00 +08:00
11 lines
252 B
C
11 lines
252 B
C
|
#include <machine/syscall.h>
|
||
|
#include <sys/time.h>
|
||
|
#include "internal_syscall.h"
|
||
|
|
||
|
/* Get the current time. Only relatively correct. */
|
||
|
int
|
||
|
_gettimeofday(struct timeval *tp, void *tzp)
|
||
|
{
|
||
|
return syscall_errno (SYS_gettimeofday, tp, 0, 0, 0, 0, 0);
|
||
|
}
|