ReactOS 0.4.15-dev-8119-g4fb2fdb
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
18extern "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;
37 __time64_t modtime;
38 };
39#endif
40
41#ifndef NO_OLDNAMES
42 struct utimbuf {
45 };
46
47 struct utimbuf32 {
50 };
51#endif
52
53#endif /* !_UTIMBUF_DEFINED */
54
56 int
59 _In_z_ const char *_Filename,
60 _In_opt_ struct _utimbuf *_Time);
61
63 int
66 _In_z_ const char *_Filename,
67 _In_opt_ struct __utimbuf32 *_Time);
68
70 int
73 _In_ int _FileDes,
74 _In_opt_ struct _utimbuf *_Time);
75
77 int
80 _In_ int _FileDes,
81 _In_opt_ struct __utimbuf32 *_Time);
82
84 int
87 _In_z_ const wchar_t *_Filename,
88 _In_opt_ struct _utimbuf *_Time);
89
91 int
94 _In_z_ const wchar_t *_Filename,
95 _In_opt_ struct __utimbuf32 *_Time);
96
97#if _INTEGRAL_MAX_BITS >= 64
98
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
#define __cdecl
Definition: accygwin.h:79
void modtime(int argc, const char *argv[])
Definition: cmds.c:2232
#define _CRTIMP
Definition: crtdefs.h:72
long __time32_t
Definition: crtdefs.h:379
__kernel_time_t time_t
Definition: linux.h:252
#define utime
Definition: getline.c:47
#define _In_z_
Definition: ms_sal.h:313
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
_In_ size_t _In_ const __time32_t * _Time
Definition: time.h:192
__time32_t actime
Definition: utime.h:30
__time32_t modtime
Definition: utime.h:31
Definition: utime.h:24
time_t modtime
Definition: utime.h:26
time_t actime
Definition: utime.h:25
__time32_t modtime
Definition: utime.h:49
__time32_t actime
Definition: utime.h:48
time_t actime
Definition: syshdrs.h:132
_CRTIMP int __cdecl _utime32(_In_z_ const char *_Filename, _In_opt_ struct __utimbuf32 *_Time)
_CRTIMP int __cdecl _futime32(_In_ int _FileDes, _In_opt_ struct __utimbuf32 *_Time)
_CRTIMP int __cdecl _futime(_In_ int _FileDes, _In_opt_ struct _utimbuf *_Time)
_CRTIMP int __cdecl _utime(_In_z_ const char *_Filename, _In_opt_ struct _utimbuf *_Time)
_CRTIMP int __cdecl _wutime(_In_z_ const wchar_t *_Filename, _In_opt_ struct _utimbuf *_Time)
_CRTIMP int __cdecl _wutime32(_In_z_ const wchar_t *_Filename, _In_opt_ struct __utimbuf32 *_Time)