Namespaces
Variants
Views
Actions

Difference between revisions of "c/string/wide/wmemcpy"

From cppreference.com
< c‎ | string‎ | wide
(+see cpp)
m (Text replace - "/sidebar" to "/navbar")
Line 1: Line 1:
 
{{c/title|wmemcpy}}
 
{{c/title|wmemcpy}}
{{c/string/wide/sidebar}}
+
{{c/string/wide/navbar}}
 
{{ddcl | header=wchar.h |
 
{{ddcl | header=wchar.h |
 
wchar_t* wmemcpy( wchar_t* dest, const wchar_t* src, size_t count );
 
wchar_t* wmemcpy( wchar_t* dest, const wchar_t* src, size_t count );

Revision as of 12:12, 15 June 2012

Defined in header <wchar.h>
wchar_t* wmemcpy( wchar_t* dest, const wchar_t* src, size_t count );

Copies count wide characters from the object pointed to by src to the object pointed to by dest. If the objects overlap, the behavior is undefined.

Contents

Parameters

dest - pointer to the memory location to copy to
src - pointer to the memory location to copy from
count - number of bytes to copy

Return value

dest

Example

See also

Template:c/string/wide/dcl list wmemmove
C++ documentation for wmemcpy