2013-06-11 15:12:42 +02:00
|
|
|
/* Time function internal interfaces.
|
2015-01-02 17:28:19 +01:00
|
|
|
Copyright (C) 1997-2015 Free Software Foundation, Inc.
|
2013-06-11 15:12:42 +02:00
|
|
|
This file is part of the GNU C Library.
|
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with the GNU C Library; if not, see
|
|
|
|
<http://www.gnu.org/licenses/>. */
|
|
|
|
|
1998-09-07 01:45:24 +02:00
|
|
|
#ifndef _SYS_TIME_H
|
2013-06-11 15:12:42 +02:00
|
|
|
# include <time/sys/time.h>
|
1998-08-09 19:39:48 +02:00
|
|
|
|
2013-06-11 15:12:42 +02:00
|
|
|
# ifndef _ISOMAC
|
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);
|
2012-05-24 20:37:30 +02:00
|
|
|
libc_hidden_proto (__gettimeofday)
|
|
|
|
libc_hidden_proto (gettimeofday)
|
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
|
|
|
|
2013-06-11 15:12:42 +02:00
|
|
|
# endif
|
2012-02-26 05:18:39 +01:00
|
|
|
#endif
|