2013-06-11 13:12:42 +00:00
|
|
|
/* Time function internal interfaces.
|
2015-01-02 16:28:19 +00:00
|
|
|
Copyright (C) 1997-2015 Free Software Foundation, Inc.
|
2013-06-11 13:12:42 +00: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-06 23:45:24 +00:00
|
|
|
#ifndef _SYS_TIME_H
|
2013-06-11 13:12:42 +00:00
|
|
|
# include <time/sys/time.h>
|
1998-08-09 17:39:48 +00:00
|
|
|
|
2013-06-11 13:12:42 +00:00
|
|
|
# ifndef _ISOMAC
|
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);
|
2012-05-24 18:37:30 +00:00
|
|
|
libc_hidden_proto (__gettimeofday)
|
|
|
|
libc_hidden_proto (gettimeofday)
|
2012-01-08 04:57:22 +00:00
|
|
|
extern int __settimeofday (const struct timeval *__tv,
|
|
|
|
const struct timezone *__tz)
|
2003-06-30 23:15:13 +00:00
|
|
|
attribute_hidden;
|
2012-01-08 04:57:22 +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,
|
2012-01-08 04:57:22 +00:00
|
|
|
const struct itimerval *__restrict __new,
|
2003-06-30 23:15:13 +00:00
|
|
|
struct itimerval *__restrict __old)
|
|
|
|
attribute_hidden;
|
2012-01-08 04:57:22 +00:00
|
|
|
extern int __utimes (const char *__file, const struct timeval __tvp[2])
|
2003-06-30 23:15:13 +00:00
|
|
|
attribute_hidden;
|
2012-01-08 04:57:22 +00:00
|
|
|
extern int __futimes (int fd, const struct timeval tvp[2]) attribute_hidden;
|
2002-04-14 09:14:45 +00:00
|
|
|
|
2013-06-11 13:12:42 +00:00
|
|
|
# endif
|
2012-02-26 04:18:39 +00:00
|
|
|
#endif
|