| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | 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 : |
//
// wcscat.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Defines wcscat(), which concatenates (appends) a copy of the source string to
// the end of the destination string.
//
// This function assumes that the destination buffer is sufficiently large to
// store the appended string.
//
#include <string.h>
#if defined _M_X64 || defined _M_IX86 || defined _M_ARM || defined _M_ARM64
#pragma warning(disable:4163)
#pragma function(wcscat)
#endif
extern "C" wchar_t * __cdecl wcscat(
wchar_t* const destination,
wchar_t const* source
)
{
wchar_t* destination_it = destination;
// Find the end of the destination string:
while (*destination_it)
++destination_it;
// Append the source string to the destination string:
while ((*destination_it++ = *source++) != L'\0') { }
return destination;
}