mirror of
https://github.com/Chuyu-Team/VC-LTL5.git
synced 2026-10-18 13:50:46 +08:00
24 lines
661 B
C++
24 lines
661 B
C++
//
|
|
// wcsncat_s.cpp
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// Defines wcsncat_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>
|
|
|
|
#if WindowsTargetPlatformMinVersion < WindowsTargetPlatformWindows6
|
|
extern "C" errno_t __cdecl wcsncat_s(
|
|
wchar_t* const destination,
|
|
size_t const size_in_elements,
|
|
wchar_t const* const source,
|
|
size_t const count
|
|
)
|
|
{
|
|
return common_tcsncat_s(destination, size_in_elements, source, count);
|
|
}
|
|
|
|
_LCRT_DEFINE_IAT_SYMBOL(wcsncat_s);
|
|
#endif |