home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / INCLUDE / DIRECT.H_ / DIRECT.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.1 KB  |  52 lines

  1. /***
  2. *direct.h - function declarations for directory handling/creation
  3. *
  4. *   Copyright (c) 1985-1992, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *   This include file contains the function declarations for the library
  8. *   functions related to directory handling and creation.
  9. *
  10. ****/
  11.  
  12. #ifndef _INC_DIRECT
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif 
  17.  
  18. #if (_MSC_VER <= 600)
  19. #define __cdecl     _cdecl
  20. #define __far       _far
  21. #endif 
  22.  
  23. #ifndef _SIZE_T_DEFINED
  24. typedef unsigned int size_t;
  25. #define _SIZE_T_DEFINED
  26. #endif 
  27.  
  28. /* function prototypes */
  29.  
  30. int __cdecl _chdir(const char *);
  31. int __cdecl _chdrive(int);
  32. char * __cdecl _getcwd(char *, int);
  33. char * __cdecl _getdcwd(int, char *, int);
  34. int __cdecl _getdrive(void);
  35. int __cdecl _mkdir(const char *);
  36. int __cdecl _rmdir(const char *);
  37.  
  38. #ifndef __STDC__
  39. /* Non-ANSI names for compatibility */
  40. int __cdecl chdir(const char *);
  41. char * __cdecl getcwd(char *, int);
  42. int __cdecl mkdir(const char *);
  43. int __cdecl rmdir(const char *);
  44. #endif 
  45.  
  46. #ifdef __cplusplus
  47. }
  48. #endif 
  49.  
  50. #define _INC_DIRECT
  51. #endif 
  52.