2 #include <time/sys/time.h>
4 /* Now document the internal interfaces. */
5 extern int __gettimeofday (struct timeval
*__tv
,
6 struct timezone
*__tz
);
7 extern int __gettimeofday_internal (struct timeval
*__tv
,
10 extern int __settimeofday (__const
struct timeval
*__tv
,
11 __const
struct timezone
*__tz
)
13 extern int __adjtime (__const
struct timeval
*__delta
,
14 struct timeval
*__olddelta
);
15 extern int __getitimer (enum __itimer_which __which
,
16 struct itimerval
*__value
);
17 extern int __setitimer (enum __itimer_which __which
,
18 __const
struct itimerval
*__restrict __new
,
19 struct itimerval
*__restrict __old
)
21 extern int __utimes (__const
char *__file
, const struct timeval __tvp
[2])
23 extern int __futimes (int fd
, __const
struct timeval tvp
[2]) attribute_hidden
;
26 # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz)