Update.
[glibc.git] / include / sys / time.h
blob68fcd8600870564ce2f6098f002f24fc9dcf6516
1 #ifndef _SYS_TIME_H
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,
8 struct timezone *__tz) attribute_hidden;
9 extern int __settimeofday (__const struct timeval *__tv,
10 __const struct timezone *__tz);
11 extern int __adjtime (__const struct timeval *__delta,
12 struct timeval *__olddelta);
13 extern int __getitimer (enum __itimer_which __which,
14 struct itimerval *__value);
15 extern int __setitimer (enum __itimer_which __which,
16 __const struct itimerval *__restrict __new,
17 struct itimerval *__restrict __old);
18 extern int __utimes (__const char *__file, const struct timeval __tvp[2]);
20 #ifndef NOT_IN_libc
21 # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz)
22 #endif
24 #endif