First steps to get conformtest fully working
[platform/upstream/glibc.git] / include / sys / time.h
1 #ifndef _SYS_TIME_H
2 #include <time/sys/time.h>
3
4 #ifndef _ISOMAC
5 /* Now document the internal interfaces.  */
6 extern int __gettimeofday (struct timeval *__tv,
7                            struct timezone *__tz);
8 extern int __gettimeofday_internal (struct timeval *__tv,
9                                     struct timezone *__tz)
10         attribute_hidden;
11 extern int __settimeofday (const struct timeval *__tv,
12                            const struct timezone *__tz)
13         attribute_hidden;
14 extern int __adjtime (const struct timeval *__delta,
15                       struct timeval *__olddelta);
16 extern int __getitimer (enum __itimer_which __which,
17                         struct itimerval *__value);
18 extern int __setitimer (enum __itimer_which __which,
19                         const struct itimerval *__restrict __new,
20                         struct itimerval *__restrict __old)
21         attribute_hidden;
22 extern int __utimes (const char *__file, const struct timeval __tvp[2])
23         attribute_hidden;
24 extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden;
25
26 #ifndef NOT_IN_libc
27 # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz)
28 #endif
29
30 #endif
31 #endif