ReactOS
0.4.16-dev-1946-g52006dd
wcscpy.cpp
Go to the documentation of this file.
1
//
2
// wcscpy.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Defines wcscpy(), which copies a string from one buffer to another.
7
//
8
#include <string.h>
9
10
11
12
#if defined _M_X64 || defined _M_IX86 || defined _M_ARM || defined _M_ARM64
13
#pragma warning(disable:4163)
14
#pragma function(wcscpy)
15
#endif
16
17
18
19
extern
"C"
wchar_t
*
__cdecl
wcscpy
(
20
wchar_t
*
const
destination,
21
wchar_t
const
*
source
)
22
{
23
wchar_t
* destination_it = destination;
24
while
((*destination_it++ = *
source
++) !=
'\0'
) { }
25
26
return
destination;
27
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
wcscpy
wcscpy
Definition:
corecrt_wstring.h:120
source
Definition:
pdh_main.c:174
sdk
lib
ucrt
string
wcscpy.cpp
Generated on Thu Dec 4 2025 06:16:23 for ReactOS by
1.9.6