wmemcpy

Copies a specified number of wide characters from one wide-character array to another.

Format

#include  <wchar.h>

wchar_t wmemcpy  (wchar_t *s1, const wchar_t *s2,
                 size_t n);
Function Variants This function also has variants named _wmemcpy32 and _wmemcpy64 for use with 32-bit and 64-bit pointer sizes, respectively. See Section 1.8 for more information on using pointer-size-specific functions.

Arguments

s1
A pointer to the destination array.
s2
A pointer to the source array.
n
The number of wide characters to be copied.

Description

This function copies n wide characters from the array pointed to by s2 to the array pointed to by s1.

Return Values
The value of s1


Previous Page | Next Page | Table of Contents | Index