Reactos
at master 20 lines 547 B view raw
1// 2// wcsncpy_s.cpp 3// 4// Copyright (c) Microsoft Corporation. All rights reserved. 5// 6// Defines wcsncpy_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 12extern "C" errno_t __cdecl wcsncpy_s( 13 wchar_t* const destination, 14 size_t const size_in_elements, 15 wchar_t const* const source, 16 size_t const count 17 ) 18{ 19 return common_tcsncpy_s(destination, size_in_elements, source, count); 20}