strtok_s.c 622 B

12345678910111213141516171819202122232425262728
  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 _FUNC_PROLOGUE
  20. #define _FUNC_NAME strtok_s
  21. #define _CHAR char
  22. #include "tcstok_s.inl"