2 * Path and directory definitions
4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
8 #ifndef __WINE_DIRECT_H
9 #define __WINE_DIRECT_H
12 #include "msvcrt/dos.h" /* For _getdiskfree & co */
19 int _chdir(const char*);
21 char* _getcwd(char*,int);
22 char* _getdcwd(int,char*,int);
24 unsigned long _getdrives(void);
25 int _mkdir(const char*);
26 int _rmdir(const char*);
28 int _wchdir(const WCHAR
*);
29 WCHAR
* _wgetcwd(WCHAR
*,int);
30 WCHAR
* _wgetdcwd(int,WCHAR
*,int);
31 int _wmkdir(const WCHAR
*);
32 int _wrmdir(const WCHAR
*);
39 #ifndef USE_MSVCRT_PREFIX
41 #define getcwd _getcwd
44 #endif /* USE_MSVCRT_PREFIX */
46 #endif /* __WINE_DIRECT_H */