Difference between revisions of "cpp/string/wide/wmemcpy"
From cppreference.com
m (Text replace - "cstring" to "cwchar") |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{c/title|wmemcpy}} |
− | {{ | + | {{c/string/wide/sidebar}} |
− | {{ddcl | header= | + | {{ddcl | header=wchar.h | |
− | wchar_t* wmemcpy( wchar_t* dest, const wchar_t* src, | + | wchar_t* wmemcpy( wchar_t* dest, const wchar_t* src, size_t count ); |
}} | }} | ||
− | Copies {{tt|count}} wide characters from the object pointed to by {{tt|src}} to the object pointed to by {{tt|dest}}. If the objects overlap | + | Copies {{tt|count}} wide characters from the object pointed to by {{tt|src}} to the object pointed to by {{tt|dest}}. If the objects overlap, the behavior is undefined. |
===Parameters=== | ===Parameters=== | ||
Line 27: | Line 27: | ||
===See also=== | ===See also=== | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list template | | + | {{dcl list template | c/string/wide/dcl list wmemmove}} |
− | + | ||
− | + | ||
− | + | ||
{{dcl list end}} | {{dcl list end}} |
Revision as of 04:50, 13 April 2012
Template:c/string/wide/sidebar
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