]> git.ipfire.org Git - thirdparty/glibc.git/blob - include/sys/time.h
Remove pre-ISO C support
[thirdparty/glibc.git] / include / sys / time.h
1 #ifndef _SYS_TIME_H
2 #include <time/sys/time.h>
3
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)
9 attribute_hidden;
10 extern int __settimeofday (const struct timeval *__tv,
11 const struct timezone *__tz)
12 attribute_hidden;
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)
20 attribute_hidden;
21 extern int __utimes (const char *__file, const struct timeval __tvp[2])
22 attribute_hidden;
23 extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden;
24
25 #ifndef NOT_IN_libc
26 # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz)
27 #endif
28
29 #endif