strncat_s.c 712 B

1234567891011121314151617181920212223242526272829303132
  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. *strncat_s.c - append n chars of string to new string
  7. *
  8. *
  9. *Purpose:
  10. * defines strncat_s() - appends n characters of string onto
  11. * end of other string
  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 strncat_s
  21. #define _CHAR char
  22. #define _DEST _Dst
  23. #define _SIZE _SizeInBytes
  24. #define _SRC _Src
  25. #define _COUNT _Count
  26. #include "tcsncat_s.inl"