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.

36 lines
892 B

  1. /***
  2. *direct.h - function declarations for directory handling/creation
  3. *
  4. * Copyright (c) 1985-1990, 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. #if defined(_DLL) && !defined(_MT)
  12. #error Cannot define _DLL without _MT
  13. #endif
  14. #ifdef _MT
  15. #define _FAR_ _far
  16. #else
  17. #define _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 _FAR_ _cdecl chdir(const char _FAR_ *);
  25. int _FAR_ _cdecl _chdrive(int);
  26. char _FAR_ * _FAR_ _cdecl getcwd(char _FAR_ *, int);
  27. char _FAR_ * _FAR_ _cdecl _getdcwd(int, char _FAR_ *, int);
  28. int _FAR_ _cdecl _getdrive(void);
  29. int _FAR_ _cdecl mkdir(const char _FAR_ *);
  30. int _FAR_ _cdecl rmdir(const char _FAR_ *);