xtoa_s.c 641 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // Copyright (c) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE file in the project root for full license information.
  4. //
  5. /***
  6. *strtok_s.c - tokenize a string with given delimiters
  7. *
  8. *
  9. *Purpose:
  10. * defines strtok_s() - breaks string into series of token
  11. * via repeated calls.
  12. *
  13. *******************************************************************************/
  14. #include <string.h>
  15. #include <errno.h>
  16. #include <limits.h>
  17. #include "internal_securecrt.h"
  18. #include "mbusafecrt_internal.h"
  19. //#define __int64 long long
  20. #define _SECURE_ITOA
  21. #define TCHAR char
  22. #define _T(x) x
  23. #include "xtox_s.inl"