4 * Functions for manipulating paths and directories (included from io.h)
5 * plus functions for setting the current drive.
7 * This file is part of the Mingw32 package.
10 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
12 * THIS SOFTWARE IS NOT COPYRIGHTED
14 * This source code is offered for use in the public domain. You may
15 * use, modify or distribute it freely.
17 * This code is distributed in the hope that it will be useful but
18 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19 * DISCLAIMED. This includes but is not limited to warranties of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
32 typedef unsigned short wchar_t;
37 typedef unsigned int size_t;
46 unsigned short total_clusters;
47 unsigned short avail_clusters;
48 unsigned short sectors_per_cluster;
49 unsigned short bytes_per_sector;
54 char* _getcwd(char*, int);
56 unsigned int _getdiskfree(unsigned int, struct _diskfree_t*);
58 int _chdir(const char*);
59 int _mkdir(const char*);
60 int _rmdir(const char*);
63 #define getcwd _getcwd
67 char* _getdcwd(int nDrive, char* caBuffer, int nBufLen);
69 wchar_t* _wgetcwd(wchar_t *buffer, int maxlen);
70 wchar_t* _wgetdcwd(int nDrive, wchar_t* caBuffer, int nBufLen);
72 int _wchdir(const wchar_t* _path);
73 int _wmkdir(const wchar_t* _path);
74 int _wrmdir(const wchar_t* _path);
80 #endif /* Not _DIRECT_H_ */