4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 03:19:54 +08:00
Corinna Vinschen b6bddccad6 * times.cc (timeval_to_filetime): Define first parameter const.
(utimes): Define second parameter to const according to SUSv3.
	(utime): Ditto.
	* include/sys/utime.h (utime) : Change declaration accordingly.
2005-02-08 20:59:41 +00:00

31 lines
511 B
C

/* sys/utime.h
Copyright 2001 Red Hat, Inc.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#ifndef _SYS_UTIME_H
#define _SYS_UTIME_H
#ifdef __cplusplus
extern "C" {
#endif
#include <_ansi.h>
#include <sys/types.h>
struct utimbuf
{
time_t actime;
time_t modtime;
};
int _EXFUN(utime, (const char *__path, const struct utimbuf *__buf));
#ifdef __cplusplus
};
#endif
#endif /* _SYS_UTIME_H */