home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 14.ddi / GENINC.PAK / DIRECT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  1.0 KB  |  53 lines

  1. /*  direct.h
  2.  
  3.  
  4.     Defines structures, macros, and functions for dealing with
  5.     directories and pathnames.
  6.  
  7. */
  8.  
  9. /*
  10.  *      C/C++ Run Time Library - Version 6.0
  11.  *
  12.  *      Copyright (c) 1987, 1993 by Borland International
  13.  *      All Rights Reserved.
  14.  *
  15.  */
  16.  
  17. #ifndef __DIRECT_H
  18. #define __DIRECT_H
  19.  
  20. #pragma warn -nak   /* Ignore non-ansi keywords */
  21.  
  22. #if !defined(__DIR_H)
  23. #include <dir.h>
  24. #endif
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29.  
  30. /* Prototypes for MSC functions */
  31.  
  32. #if !defined(__FLAT__)
  33.  
  34. int    _Cdecl _chdrive(int __drive);
  35. char _FAR * _Cdecl _FARFUNC _getdcwd(int __drive, char _FAR *__buf, int __len);
  36. int    _Cdecl _getdrive(void);
  37.  
  38. #else   /* defined __FLAT__ */
  39.  
  40. int    _RTLENTRY _EXPFUNC _chdrive(int __drive);
  41. char * _RTLENTRY _EXPFUNC _getdcwd(int __drive, char * __buf, int __len);
  42. int    _RTLENTRY _EXPFUNC _getdrive(void);
  43.  
  44. #endif /* __FLAT__ */
  45.  
  46. #ifdef __cplusplus
  47. }
  48. #endif
  49.  
  50. #pragma warn .nak   /* Ignore non-ansi keywords */
  51.  
  52. #endif /* __DIRECT_H */
  53.