xtow_s.c 636 B

1234567891011121314151617181920212223242526272829
  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 _SECURE_ITOA
  20. #define _UNICODE
  21. #define TCHAR char16_t
  22. #define _T(x) L##x
  23. #include "xtox_s.inl"