~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/include/msvcrt/direct.h

Version: ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

  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 
 11 #include <crtdefs.h>
 12 
 13 #include <pshpack8.h>
 14 
 15 #ifdef __cplusplus
 16 extern "C" {
 17 #endif
 18 
 19 #ifndef _DISKFREE_T_DEFINED
 20 #define _DISKFREE_T_DEFINED
 21 struct _diskfree_t {
 22   unsigned int total_clusters;
 23   unsigned int avail_clusters;
 24   unsigned int sectors_per_cluster;
 25   unsigned int bytes_per_sector;
 26 };
 27 #endif /* _DISKFREE_T_DEFINED */
 28 
 29 int           __cdecl _chdir(const char*);
 30 int           __cdecl _chdrive(int);
 31 char*         __cdecl _getcwd(char*,int);
 32 char*         __cdecl _getdcwd(int,char*,int);
 33 int           __cdecl _getdrive(void);
 34 __msvcrt_ulong __cdecl _getdrives(void);
 35 int           __cdecl _mkdir(const char*);
 36 int           __cdecl _rmdir(const char*);
 37 
 38 #ifndef _WDIRECT_DEFINED
 39 #define _WDIRECT_DEFINED
 40 int      __cdecl _wchdir(const wchar_t*);
 41 wchar_t* __cdecl _wgetcwd(wchar_t*,int);
 42 wchar_t* __cdecl _wgetdcwd(int,wchar_t*,int);
 43 int      __cdecl _wmkdir(const wchar_t*);
 44 int      __cdecl _wrmdir(const wchar_t*);
 45 #endif /* _WDIRECT_DEFINED */
 46 
 47 #ifdef __cplusplus
 48 }
 49 #endif
 50 
 51 
 52 static inline int chdir(const char* newdir) { return _chdir(newdir); }
 53 static inline char* getcwd(char * buf, int size) { return _getcwd(buf, size); }
 54 static inline int mkdir(const char* newdir) { return _mkdir(newdir); }
 55 static inline int rmdir(const char* dir) { return _rmdir(dir); }
 56 
 57 #include <poppack.h>
 58 
 59 #endif /* __WINE_DIRECT_H */
 60 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.