xref: /reactos/sdk/lib/ucrt/string/wcsncpy_s.cpp (revision fe11f7a2)
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 
12 extern "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 }
21