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