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