winex11.drv: Support _KDE_NET_WM_STATE_SKIP_SWITCHER.
[wine.git] / include / msvcrt / corecrt_io.h
blobd7554c3b1c67c99f3f0cc6c151c733515e95017d
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
4 */
6 #ifndef _IO_DEFINED
7 #define _IO_DEFINED
9 #include <corecrt_wio.h>
11 #include <pshpack8.h>
13 #if defined(_USE_32BIT_TIME_T)
14 # define _finddata_t _finddata32_t
15 # define _finddatai64_t _finddata32i64_t
16 #else
17 # define _finddata_t _finddata64i32_t
18 # define _finddatai64_t _finddata64_t
19 #endif
21 struct _finddata32_t {
22 unsigned attrib;
23 __time32_t time_create;
24 __time32_t time_access;
25 __time32_t time_write;
26 _fsize_t size;
27 char name[260];
30 struct _finddata32i64_t {
31 unsigned attrib;
32 __time32_t time_create;
33 __time32_t time_access;
34 __time32_t time_write;
35 __int64 DECLSPEC_ALIGN(8) size;
36 char name[260];
39 struct _finddata64i32_t {
40 unsigned attrib;
41 __time64_t time_create;
42 __time64_t time_access;
43 __time64_t time_write;
44 _fsize_t size;
45 char name[260];
48 struct _finddata64_t {
49 unsigned attrib;
50 __time64_t time_create;
51 __time64_t time_access;
52 __time64_t time_write;
53 __int64 DECLSPEC_ALIGN(8) size;
54 char name[260];
57 #ifdef _UCRT
58 # ifdef _USE_32BIT_TIME_T
59 # define _findfirst _findfirst32
60 # define _findfirsti64 _findfirst32i64
61 # define _findnext _findnext32
62 # define _findnexti64 _findnext32i64
63 # else
64 # define _findfirst _findfirst64i32
65 # define _findfirsti64 _findfirst64
66 # define _findnext _findnext64i32
67 # define _findnexti64 _findnext64
68 # endif
69 #else /* _UCRT */
70 # ifdef _USE_32BIT_TIME_T
71 # define _findfirst32 _findfirst
72 # define _findfirst32i64 _findfirsti64
73 # define _findnext32 _findnext
74 # define _findnext32i64 _findnexti64
75 # else
76 # define _findfirst64i32 _findfirst
77 # define _findfirst64 _findfirsti64
78 # define _findnext64i32 _findnext
79 # define _findnext64 _findnexti64
80 # endif
81 #endif
83 #ifdef __cplusplus
84 extern "C" {
85 #endif
87 _ACRTIMP int __cdecl _access(const char*,int);
88 _ACRTIMP int __cdecl _chmod(const char*,int);
89 _ACRTIMP int __cdecl _creat(const char*,int);
90 _ACRTIMP intptr_t __cdecl _findfirst32(const char*,struct _finddata32_t*);
91 _ACRTIMP intptr_t __cdecl _findfirst32i64(const char*, struct _finddata32i64_t*);
92 _ACRTIMP intptr_t __cdecl _findfirst64(const char*,struct _finddata64_t*);
93 _ACRTIMP intptr_t __cdecl _findfirst64i32(const char*, struct _finddata64i32_t*);
94 _ACRTIMP int __cdecl _findnext32(intptr_t,struct _finddata32_t*);
95 _ACRTIMP int __cdecl _findnext32i64(intptr_t,struct _finddata32i64_t*);
96 _ACRTIMP int __cdecl _findnext64(intptr_t,struct _finddata64_t*);
97 _ACRTIMP int __cdecl _findnext64i32(intptr_t,struct _finddata64i32_t*);
98 _ACRTIMP char* __cdecl _mktemp(char*);
99 _ACRTIMP int WINAPIV _open(const char*,int,...);
100 _ACRTIMP int WINAPIV _sopen(const char*,int,int,...);
101 _ACRTIMP int __cdecl _unlink(const char*);
103 #ifdef __cplusplus
105 #endif
107 #include <poppack.h>
109 #endif /* _IO_DEFINED */