1998-09-06 23:45:24 +00:00
|
|
|
#ifndef _SYS_TIME_H
|
1995-02-18 01:27:10 +00:00
|
|
|
#include <time/sys/time.h>
|
1998-08-09 17:39:48 +00:00
|
|
|
|
|
|
|
/* Now document the internal interfaces. */
|
1999-10-19 13:53:34 +00:00
|
|
|
extern int __gettimeofday (struct timeval *__tv,
|
1999-11-23 17:22:17 +00:00
|
|
|
struct timezone *__tz);
|
2002-04-14 09:14:45 +00:00
|
|
|
extern int __gettimeofday_internal (struct timeval *__tv,
|
2003-06-30 23:15:13 +00:00
|
|
|
struct timezone *__tz)
|
|
|
|
attribute_hidden;
|
1999-10-19 13:53:34 +00:00
|
|
|
extern int __settimeofday (__const struct timeval *__tv,
|
2003-06-30 23:15:13 +00:00
|
|
|
__const struct timezone *__tz)
|
|
|
|
attribute_hidden;
|
1999-10-19 13:53:34 +00:00
|
|
|
extern int __adjtime (__const struct timeval *__delta,
|
1999-11-23 17:22:17 +00:00
|
|
|
struct timeval *__olddelta);
|
1999-10-19 13:53:34 +00:00
|
|
|
extern int __getitimer (enum __itimer_which __which,
|
1999-11-23 17:22:17 +00:00
|
|
|
struct itimerval *__value);
|
1999-10-19 13:53:34 +00:00
|
|
|
extern int __setitimer (enum __itimer_which __which,
|
2000-08-21 06:49:52 +00:00
|
|
|
__const struct itimerval *__restrict __new,
|
2003-06-30 23:15:13 +00:00
|
|
|
struct itimerval *__restrict __old)
|
|
|
|
attribute_hidden;
|
|
|
|
extern int __utimes (__const char *__file, const struct timeval __tvp[2])
|
|
|
|
attribute_hidden;
|
2006-02-03 05:28:06 +00:00
|
|
|
extern int __futimes (int fd, __const struct timeval tvp[2]) attribute_hidden;
|
2002-04-14 09:14:45 +00:00
|
|
|
|
|
|
|
#ifndef NOT_IN_libc
|
|
|
|
# define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz)
|
|
|
|
#endif
|
|
|
|
|
1998-09-06 23:45:24 +00:00
|
|
|
#endif
|