mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00

Imported from https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource/10.0.22621.3 License: MIT
20 lines
547 B
C++
20 lines
547 B
C++
//
|
|
// wcsncpy_s.cpp
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// Defines wcsncpy_s(), which appends n characters of the source string onto the
|
|
// end of the destination string.
|
|
//
|
|
#include <corecrt_internal_string_templates.h>
|
|
#include <string.h>
|
|
|
|
extern "C" errno_t __cdecl wcsncpy_s(
|
|
wchar_t* const destination,
|
|
size_t const size_in_elements,
|
|
wchar_t const* const source,
|
|
size_t const count
|
|
)
|
|
{
|
|
return common_tcsncpy_s(destination, size_in_elements, source, count);
|
|
}
|