Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.1 KiB

  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. #ifndef _INC_DIRECT
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #if (_MSC_VER <= 600)
  16. #define __cdecl _cdecl
  17. #define __far _far
  18. #endif
  19. #ifndef _SIZE_T_DEFINED
  20. typedef unsigned int size_t;
  21. #define _SIZE_T_DEFINED
  22. #endif
  23. /* function prototypes */
  24. int __cdecl _chdir(const char *);
  25. int __cdecl _chdrive(int);
  26. char * __cdecl _getcwd(char *, int);
  27. char * __cdecl _getdcwd(int, char *, int);
  28. int __cdecl _getdrive(void);
  29. int __cdecl _mkdir(const char *);
  30. int __cdecl _rmdir(const char *);
  31. #ifndef __STDC__
  32. /* Non-ANSI names for compatibility */
  33. int __cdecl chdir(const char *);
  34. char * __cdecl getcwd(char *, int);
  35. int __cdecl mkdir(const char *);
  36. int __cdecl rmdir(const char *);
  37. #endif
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #define _INC_DIRECT
  42. #endif