x86-64 bug fix: Use stack with alignment just like 32bit environments.
[tinycc/kirr.git] / win32 / include / sys / utime.h
blob049524bedb18f2d88ced60085822929f88c0b2ae
1 /*
2 * utime.h
4 * Support for the utime function.
6 * This file is part of the Mingw32 package.
8 * Contributors:
9 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAIMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 * $Revision: 1.2 $
22 * $Author: bellard $
23 * $Date: 2005/04/17 13:14:29 $
27 #ifndef __STRICT_ANSI__
29 #ifndef _UTIME_H_
30 #define _UTIME_H_
32 /* All the headers include this file. */
33 #include <_mingw.h>
35 #define __need_wchar_t
36 #define __need_size_t
37 #ifndef RC_INVOKED
38 #include <stddef.h>
39 #endif /* Not RC_INVOKED */
40 #include <sys/types.h>
42 #ifndef RC_INVOKED
45 * Structure used by _utime function.
47 struct _utimbuf
49 time_t actime; /* Access time */
50 time_t modtime; /* Modification time */
54 #ifndef _NO_OLDNAMES
55 /* NOTE: Must be the same as _utimbuf above. */
56 struct utimbuf
58 time_t actime;
59 time_t modtime;
61 #endif /* Not _NO_OLDNAMES */
64 #ifdef __cplusplus
65 extern "C" {
66 #endif
68 int _utime (const char*, struct _utimbuf*);
69 int _futime (int, struct _utimbuf*);
71 /* The wide character version, only available for MSVCRT versions of the
72 * C runtime library. */
73 #ifdef __MSVCRT__
74 int _wutime (const wchar_t*, struct _utimbuf*);
75 #endif /* MSVCRT runtime */
76 #ifndef _NO_OLDNAMES
77 int utime (const char*, struct utimbuf*);
78 #endif /* Not _NO_OLDNAMES */
80 #ifdef __cplusplus
82 #endif
84 #endif /* Not RC_INVOKED */
86 #endif /* Not _UTIME_H_ */
88 #endif /* Not __STRICT_ANSI__ */