Back to index

glibc  2.9
time.h
Go to the documentation of this file.
00001 #ifndef _SYS_TIME_H
00002 #include <time/sys/time.h>
00003 
00004 /* Now document the internal interfaces.  */
00005 extern int __gettimeofday (struct timeval *__tv,
00006                         struct timezone *__tz);
00007 extern int __gettimeofday_internal (struct timeval *__tv,
00008                                 struct timezone *__tz)
00009        attribute_hidden;
00010 extern int __settimeofday (__const struct timeval *__tv,
00011                         __const struct timezone *__tz)
00012        attribute_hidden;
00013 extern int __adjtime (__const struct timeval *__delta,
00014                     struct timeval *__olddelta);
00015 extern int __getitimer (enum __itimer_which __which,
00016                      struct itimerval *__value);
00017 extern int __setitimer (enum __itimer_which __which,
00018                      __const struct itimerval *__restrict __new,
00019                      struct itimerval *__restrict __old)
00020        attribute_hidden;
00021 extern int __utimes (__const char *__file, const struct timeval __tvp[2])
00022        attribute_hidden;
00023 extern int __futimes (int fd, __const struct timeval tvp[2]) attribute_hidden;
00024 
00025 #ifndef NOT_IN_libc
00026 # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz)
00027 #endif
00028 
00029 #endif