* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.

This commit is contained in:
Corinna Vinschen 2005-10-20 14:38:57 +00:00
parent 81bd1ca723
commit c70571bdbe
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-10-20 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2005-10-18 Corinna Vinschen <corinna@vinschen.de> 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin. * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.

View File

@ -73,6 +73,10 @@ struct itimerval {
int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z)); int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *)); int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp)); int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp));
#ifdef __CYGWIN__
int _EXFUN(futimes, (int __fd, const struct timeval *__tvp));
int _EXFUN(lutimes, (const char *__path, const struct timeval *__tvp));
#endif
int _EXFUN(getitimer, (int __which, struct itimerval *__value)); int _EXFUN(getitimer, (int __which, struct itimerval *__value));
int _EXFUN(setitimer, (int __which, const struct itimerval *__value, int _EXFUN(setitimer, (int __which, const struct itimerval *__value,
struct itimerval *__ovalue)); struct itimerval *__ovalue));