summaryrefslogtreecommitdiffstats
path: root/newlib/libc/syscalls/sysgettod.c
blob: 273d19e5966f34a35e021dc03204ec3edc2f4795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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);
}