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.
24 * $Date: 2005/04/17 13:14:29 $
28 #ifndef __STRICT_ANSI__
33 /* All the headers include this file. */
36 #define __need_wchar_t
39 #endif /* Not RC_INVOKED */
49 #ifndef _DISKFREE_T_DEFINED
50 /* needed by _getdiskfree (also in dos.h) */
52 unsigned total_clusters
;
53 unsigned avail_clusters
;
54 unsigned sectors_per_cluster
;
55 unsigned bytes_per_sector
;
57 #define _DISKFREE_T_DEFINED
61 * You really shouldn't be using these. Use the Win32 API functions instead.
62 * However, it does make it easier to port older code.
65 unsigned long _getdrives(void);
67 char* _getdcwd (int, char*, int);
68 unsigned _getdiskfree (unsigned, struct _diskfree_t
*);
71 # define diskfree_t _diskfree_t
74 #ifndef _WDIRECT_DEFINED
75 /* wide character versions. Also in wchar.h */
77 int _wchdir(const wchar_t*);
78 wchar_t* _wgetcwd(wchar_t*, int);
79 wchar_t* _wgetdcwd(int, wchar_t*, int);
80 int _wmkdir(const wchar_t*);
81 int _wrmdir(const wchar_t*);
82 #endif /* __MSVCRT__ */
83 #define _WDIRECT_DEFINED
90 #endif /* Not RC_INVOKED */
92 #endif /* Not _DIRECT_H_ */
94 #endif /* Not __STRICT_ANSI__ */