ReactOS  0.4.14-dev-41-g31d7680
utime.h
Go to the documentation of this file.
1 
6 #ifndef _INC_UTIME
7 #define _INC_UTIME
8 
9 #ifndef _WIN32
10 #error Only Win32 target is supported!
11 #endif
12 
13 #include <crtdefs.h>
14 
15 #pragma pack(push,_CRT_PACKING)
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #ifndef _UTIMBUF_DEFINED
22 #define _UTIMBUF_DEFINED
23 
24  struct _utimbuf {
27  };
28 
29  struct __utimbuf32 {
32  };
33 
34 #if _INTEGRAL_MAX_BITS >= 64
35  struct __utimbuf64 {
36  __time64_t actime;
38  };
39 #endif
40 
41 #ifndef NO_OLDNAMES
42  struct utimbuf {
43  time_t actime;
45  };
46 
47  struct utimbuf32 {
50  };
51 #endif
52 
53 #endif /* !_UTIMBUF_DEFINED */
54 
55  _CRTIMP
56  int
57  __cdecl
58  _utime(
59  _In_z_ const char *_Filename,
60  _In_opt_ struct _utimbuf *_Time);
61 
62  _CRTIMP
63  int
64  __cdecl
65  _utime32(
66  _In_z_ const char *_Filename,
67  _In_opt_ struct __utimbuf32 *_Time);
68 
69  _CRTIMP
70  int
71  __cdecl
72  _futime(
73  _In_ int _FileDes,
74  _In_opt_ struct _utimbuf *_Time);
75 
76  _CRTIMP
77  int
78  __cdecl
79  _futime32(
80  _In_ int _FileDes,
81  _In_opt_ struct __utimbuf32 *_Time);
82 
83  _CRTIMP
84  int
85  __cdecl
86  _wutime(
87  _In_z_ const wchar_t *_Filename,
88  _In_opt_ struct _utimbuf *_Time);
89 
90  _CRTIMP
91  int
92  __cdecl
93  _wutime32(
94  _In_z_ const wchar_t *_Filename,
95  _In_opt_ struct __utimbuf32 *_Time);
96 
97 #if _INTEGRAL_MAX_BITS >= 64
98 
99  _CRTIMP
100  int
101  __cdecl
102  _utime64(
103  _In_z_ const char *_Filename,
104  _In_opt_ struct __utimbuf64 *_Time);
105 
106  _CRTIMP
107  int
108  __cdecl
109  _futime64(
110  _In_ int _FileDes,
111  _In_opt_ struct __utimbuf64 *_Time);
112 
113  _CRTIMP
114  int
115  __cdecl
116  _wutime64(
117  _In_z_ const wchar_t *_Filename,
118  _In_opt_ struct __utimbuf64 *_Time);
119 
120 #endif /* _INTEGRAL_MAX_BITS >= 64 */
121 
122 #ifndef RC_INVOKED
123 #ifdef _USE_32BIT_TIME_T
124 __CRT_INLINE int __cdecl _utime32(const char *_Filename,struct __utimbuf32 *_Utimbuf) {
125  return _utime(_Filename,(struct _utimbuf *)_Utimbuf);
126 }
127 __CRT_INLINE int __cdecl _futime32(int _Desc,struct __utimbuf32 *_Utimbuf) {
128  return _futime(_Desc,(struct _utimbuf *)_Utimbuf);
129 }
130 __CRT_INLINE int __cdecl _wutime32(const wchar_t *_Filename,struct __utimbuf32 *_Utimbuf) {
131  return _wutime(_Filename,(struct _utimbuf *)_Utimbuf);
132 }
133 #endif
134 
135 #ifndef NO_OLDNAMES
136 __CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) {
137  return _utime(_Filename,(struct _utimbuf *)_Utimbuf);
138 }
139 #endif
140 #endif
141 
142 #ifdef __cplusplus
143 }
144 #endif
145 
146 #pragma pack(pop)
147 #endif
_CRTIMP int __cdecl _futime32(_In_ int _FileDes, _In_opt_ struct __utimbuf32 *_Time)
#define __cdecl
Definition: accygwin.h:79
Definition: utime.h:24
#define _CRTIMP
Definition: crtdefs.h:60
long __time32_t
Definition: crtdefs.h:358
#define _In_opt_
Definition: no_sal2.h:213
__CRT_INLINE int __cdecl utime(const char *_Filename, struct utimbuf *_Utimbuf)
Definition: utime.h:136
void modtime(int argc, const char *argv[])
Definition: cmds.c:2232
__time32_t modtime
Definition: utime.h:31
_CRTIMP int __cdecl _utime32(_In_z_ const char *_Filename, _In_opt_ struct __utimbuf32 *_Time)
time_t actime
Definition: utime.h:25
time_t actime
Definition: syshdrs.h:132
_CRTIMP int __cdecl _wutime32(_In_z_ const wchar_t *_Filename, _In_opt_ struct __utimbuf32 *_Time)
__time32_t actime
Definition: utime.h:30
time_t modtime
Definition: utime.h:26
time_t modtime
Definition: syshdrs.h:132
__time32_t actime
Definition: utime.h:48
#define _In_
Definition: no_sal2.h:204
__kernel_time_t time_t
Definition: linux.h:252
#define _In_z_
Definition: no_sal2.h:239
_In_ size_t _In_ const __time32_t * _Time
Definition: time.h:199
_CRTIMP int __cdecl _futime(_In_ int _FileDes, _In_opt_ struct _utimbuf *_Time)
__MINGW_EXTENSION typedef __int64 __time64_t
Definition: crtdefs.h:364
_CRTIMP int __cdecl _wutime(_In_z_ const wchar_t *_Filename, _In_opt_ struct _utimbuf *_Time)
_CRTIMP int __cdecl _utime(_In_z_ const char *_Filename, _In_opt_ struct _utimbuf *_Time)
__time32_t modtime
Definition: utime.h:49