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.

35 lines
865 B

  1. /***
  2. *wgetcwd.c - get current working directory (wchar_t version)
  3. *
  4. * Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *
  8. * contains functions _getcwd, _getdcwd and _getcdrv for getting the
  9. * current working directory. getcwd gets the c.w.d. for the default disk
  10. * drive, whereas _getdcwd allows one to get the c.w.d. for whatever disk
  11. * drive is specified. _getcdrv gets the current drive.
  12. *
  13. *Revision History:
  14. * 10-29-93 CFW Module created.
  15. * 02-07-94 CFW POSIXify.
  16. *
  17. *******************************************************************************/
  18. #ifndef _POSIX_
  19. #define WPRFLAG 1
  20. #ifndef _UNICODE /* CRT flag */
  21. #define _UNICODE 1
  22. #endif
  23. #ifndef UNICODE /* NT flag */
  24. #define UNICODE 1
  25. #endif
  26. #undef _MBCS /* UNICODE not _MBCS */
  27. #include "getcwd.c"
  28. #endif /* _POSIX_ */