| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/string/ |
Upload File : |
//
// strnset_s.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Defines _strnset_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>
extern "C" errno_t __cdecl _strnset_s(
char* const destination,
size_t const size_in_elements,
int const value,
size_t const count
)
{
return common_tcsnset_s(destination, size_in_elements, static_cast<char>(value), count);
}