mirror of
https://github.com/Chuyu-Team/VC-LTL5.git
synced 2026-10-18 13:50:46 +08:00
25 lines
695 B
C++
25 lines
695 B
C++
//
|
|
// wcsnset_s.cpp
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// Defines _wcsnset_s(), which sets at most the first 'count' characters of a
|
|
// string to the given character and ensures that the resulting string is null-
|
|
// terminated.
|
|
//
|
|
#include <corecrt_internal_string_templates.h>
|
|
#include <string.h>
|
|
|
|
#if WindowsTargetPlatformMinVersion < WindowsTargetPlatformWindows6
|
|
extern "C" errno_t __cdecl _wcsnset_s(
|
|
wchar_t* const destination,
|
|
size_t const size_in_elements,
|
|
wchar_t const value,
|
|
size_t const count
|
|
)
|
|
{
|
|
return common_tcsnset_s(destination, size_in_elements, value, count);
|
|
}
|
|
|
|
_LCRT_DEFINE_IAT_SYMBOL(_wcsnset_s);
|
|
#endif |