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.

24 lines
958 B

  1. /***
  2. *xtow.c - convert integers/longs to wide char string
  3. *
  4. * Copyright (c) Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * The module has code to convert integers/longs to wide char strings.
  8. *
  9. *Revision History:
  10. * 09-10-93 CFW Module created, based on ASCII version.
  11. * 02-07-94 CFW POSIXify.
  12. * 01-19-96 BWT Add __int64 versions.
  13. * 05-13-96 BWT Fix _NTSUBSET_ version
  14. * 08-21-98 GJF Bryan's _NTSUBSET_ version is the correct
  15. * implementation.
  16. * 04-26-02 PML Fix buffer overrun on _itow for radix 2 (VS7#525627)
  17. * 05-11-02 BTW Normalize the code in xtoa and just call it. The "convert to
  18. * ansi, then run through mbstowcs" model used before is a
  19. * waste of time.
  20. *
  21. *******************************************************************************/
  22. #define _UNICODE
  23. #include "xtoa.c"