2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
9 #include <corecrt_wio.h>
13 #if defined(_USE_32BIT_TIME_T)
14 # define _finddata_t _finddata32_t
15 # define _finddatai64_t _finddata32i64_t
17 # define _finddata_t _finddata64i32_t
18 # define _finddatai64_t _finddata64_t
21 struct _finddata32_t
{
23 __time32_t time_create
;
24 __time32_t time_access
;
25 __time32_t time_write
;
30 struct _finddata32i64_t
{
32 __time32_t time_create
;
33 __time32_t time_access
;
34 __time32_t time_write
;
35 __int64
DECLSPEC_ALIGN(8) size
;
39 struct _finddata64i32_t
{
41 __time64_t time_create
;
42 __time64_t time_access
;
43 __time64_t time_write
;
48 struct _finddata64_t
{
50 __time64_t time_create
;
51 __time64_t time_access
;
52 __time64_t time_write
;
53 __int64
DECLSPEC_ALIGN(8) size
;
58 # ifdef _USE_32BIT_TIME_T
59 # define _findfirst _findfirst32
60 # define _findfirsti64 _findfirst32i64
61 # define _findnext _findnext32
62 # define _findnexti64 _findnext32i64
64 # define _findfirst _findfirst64i32
65 # define _findfirsti64 _findfirst64
66 # define _findnext _findnext64i32
67 # define _findnexti64 _findnext64
70 # ifdef _USE_32BIT_TIME_T
71 # define _findfirst32 _findfirst
72 # define _findfirst32i64 _findfirsti64
73 # define _findnext32 _findnext
74 # define _findnext32i64 _findnexti64
76 # define _findfirst64i32 _findfirst
77 # define _findfirst64 _findfirsti64
78 # define _findnext64i32 _findnext
79 # define _findnext64 _findnexti64
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*);
109 #endif /* _IO_DEFINED */