mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 02:05:50 +00:00
[UCRT] Import Microsoft.Windows.SDK.CRTSource version 10.0.22621.3
Imported from https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource/10.0.22621.3 License: MIT
This commit is contained in:
parent
f1b60c66f0
commit
04e0dc4a7a
568 changed files with 115483 additions and 0 deletions
20
sdk/lib/ucrt/string/wcsncpy_s.cpp
Normal file
20
sdk/lib/ucrt/string/wcsncpy_s.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue