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