2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
12 #pragma pack(push,_CRT_PACKING)
18 #ifndef _DISKFREE_T_DEFINED
19 #define _DISKFREE_T_DEFINED
21 unsigned total_clusters
;
22 unsigned avail_clusters
;
23 unsigned sectors_per_cluster
;
24 unsigned bytes_per_sector
;
28 _CRTIMP
char *__cdecl
_getcwd(char *_DstBuf
,int _SizeInBytes
);
29 _CRTIMP
char *__cdecl
_getdcwd(int _Drive
,char *_DstBuf
,int _SizeInBytes
);
30 char *__cdecl
_getdcwd_nolock(int _Drive
,char *_DstBuf
,int _SizeInBytes
);
31 _CRTIMP
int __cdecl
_chdir(const char *_Path
);
32 _CRTIMP
int __cdecl
_mkdir(const char *_Path
);
33 _CRTIMP
int __cdecl
_rmdir(const char *_Path
);
34 _CRTIMP
int __cdecl
_chdrive(int _Drive
);
35 _CRTIMP
int __cdecl
_getdrive(void);
36 _CRTIMP
unsigned long __cdecl
_getdrives(void);
38 #ifndef _GETDISKFREE_DEFINED
39 #define _GETDISKFREE_DEFINED
40 _CRTIMP
unsigned __cdecl
_getdiskfree(unsigned _Drive
,struct _diskfree_t
*_DiskFree
);
43 #ifndef _WDIRECT_DEFINED
44 #define _WDIRECT_DEFINED
45 _CRTIMP
wchar_t *__cdecl
_wgetcwd(wchar_t *_DstBuf
,int _SizeInWords
);
46 _CRTIMP
wchar_t *__cdecl
_wgetdcwd(int _Drive
,wchar_t *_DstBuf
,int _SizeInWords
);
47 wchar_t *__cdecl
_wgetdcwd_nolock(int _Drive
,wchar_t *_DstBuf
,int _SizeInWords
);
48 _CRTIMP
int __cdecl
_wchdir(const wchar_t *_Path
);
49 _CRTIMP
int __cdecl
_wmkdir(const wchar_t *_Path
);
50 _CRTIMP
int __cdecl
_wrmdir(const wchar_t *_Path
);
55 #define diskfree_t _diskfree_t
57 char *__cdecl
getcwd(char *_DstBuf
,int _SizeInBytes
);
58 int __cdecl
chdir(const char *_Path
);
59 int __cdecl
mkdir(const char *_Path
);
60 int __cdecl
rmdir(const char *_Path
);