3 * This file has no copyright assigned and is placed in the Public Domain.
4 * This file is a part of the mingw-runtime package.
5 * No warranty is given; refer to the file DISCLAIMER within the package.
7 * Support for the utime function.
13 /* All the headers include this file. */
16 #define __need_wchar_t
20 #endif /* Not RC_INVOKED */
21 #include <sys/types.h>
26 * Structure used by _utime function.
30 time_t actime
; /* Access time */
31 time_t modtime
; /* Modification time */
36 /* NOTE: Must be the same as _utimbuf above. */
42 #endif /* Not _NO_OLDNAMES */
55 _CRTIMP
int __cdecl
_utime (const char*, struct _utimbuf
*);
58 _CRTIMP
int __cdecl
utime (const char*, struct utimbuf
*);
59 #endif /* Not _NO_OLDNAMES */
61 _CRTIMP
int __cdecl
_futime (int, struct _utimbuf
*);
63 /* The wide character version, only available for MSVCRT versions of the
64 * C runtime library. */
66 _CRTIMP
int __cdecl
_wutime (const wchar_t*, struct _utimbuf
*);
67 #endif /* MSVCRT runtime */
69 /* These require newer versions of msvcrt.dll (6.10 or higher). */
70 #if __MSVCRT_VERSION__ >= 0x0601
71 _CRTIMP
int __cdecl
_utime64 (const char*, struct __utimbuf64
*);
72 _CRTIMP
int __cdecl
_wutime64 (const wchar_t*, struct __utimbuf64
*);
73 _CRTIMP
int __cdecl
_futime64 (int, struct __utimbuf64
*);
74 #endif /* __MSVCRT_VERSION__ >= 0x0601 */
80 #endif /* Not RC_INVOKED */
82 #endif /* Not _UTIME_H_ */