source: trunk/include/win/msvcrt/direct.h@ 8207

Last change on this file since 8207 was 8207, checked in by sandervl, 23 years ago

added

File size: 1.0 KB
Line 
1/*
2 * Path and directory definitions
3 *
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.
7 */
8#ifndef __WINE_DIRECT_H
9#define __WINE_DIRECT_H
10#define __WINE_USE_MSVCRT
11
12#include "winnt.h"
13#include "msvcrt/dos.h" /* For _getdiskfree & co */
14
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20int _chdir(const char*);
21int _chdrive(int);
22char* _getcwd(char*,int);
23char* _getdcwd(int,char*,int);
24int _getdrive(void);
25unsigned long _getdrives(void);
26int _mkdir(const char*);
27int _rmdir(const char*);
28
29int _wchdir(const WCHAR*);
30WCHAR* _wgetcwd(WCHAR*,int);
31WCHAR* _wgetdcwd(int,WCHAR*,int);
32int _wmkdir(const WCHAR*);
33int _wrmdir(const WCHAR*);
34
35#ifdef __cplusplus
36}
37#endif
38
39
40#ifndef USE_MSVCRT_PREFIX
41#define chdir _chdir
42#define getcwd _getcwd
43#define mkdir _mkdir
44#define rmdir _rmdir
45#endif /* USE_MSVCRT_PREFIX */
46
47#endif /* __WINE_DIRECT_H */
Note: See TracBrowser for help on using the repository browser.