1 // 2 // wcscpy_s.cpp 3 // 4 // Copyright (c) Microsoft Corporation. All rights reserved. 5 // 6 // Defines wcscpy_s(), which copies a string from one buffer to another. 7 // 8 #include <corecrt_internal_string_templates.h> 9 #include <string.h> 10 11 extern "C" errno_t __cdecl wcscpy_s( 12 wchar_t* const destination, 13 size_t const size_in_elements, 14 wchar_t const* const source 15 ) 16 { 17 return common_tcscpy_s(destination, size_in_elements, source); 18 } 19