wcscat_s.c 878 B

12345678910111213141516171819202122232425262728293031323334353637
  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. *wcscat_s.c - contains wcscat_s()
  7. *
  8. *
  9. *Purpose:
  10. * wcscat_s() appends one char16_t string onto another.
  11. *
  12. * wcscat() concatenates (appends) a copy of the source string to the
  13. * end of the destination string.
  14. * Strings are wide-character strings.
  15. *
  16. *******************************************************************************/
  17. #define _SECURECRT_FILL_BUFFER 1
  18. #define _SECURECRT_FILL_BUFFER_THRESHOLD ((size_t)8)
  19. #include <string.h>
  20. #include <errno.h>
  21. #include <limits.h>
  22. #include "internal_securecrt.h"
  23. #include "mbusafecrt_internal.h"
  24. #define _FUNC_PROLOGUE
  25. #define _FUNC_NAME wcscat_s
  26. #define _CHAR char16_t
  27. #define _DEST _Dst
  28. #define _SIZE _SizeInBytes
  29. #define _SRC _Src
  30. #include "tcscat_s.inl"