1 // 2 // strncat_s.cpp 3 // 4 // Copyright (c) Microsoft Corporation. All rights reserved. 5 // 6 // Defines strncat_s(), which appends n characters of the source string onto the 7 // end of the destination string. 8 // 9 #include <corecrt_internal_string_templates.h> 10 #include <string.h> 11 12 13 14 extern "C" errno_t __cdecl strncat_s( 15 char* const destination, 16 size_t const size_in_elements, 17 char const* const source, 18 size_t const count 19 ) 20 { 21 return common_tcsncat_s(destination, size_in_elements, source, count); 22 } 23