wmemcpy()

copy wide characters in memory 

Function


SYNOPSIS

#include <wchar.h>

wchar_t *wmemcpy(wchar_t *ws1, const wchar_t *ws2, size_t n);


DESCRIPTION

The wmemcpy() function copies the specified number of wide characters from the second wide character object to the first wide character object. If the specified regions overlap, behavior is undefined. This function is not affected by locale and all wchar_t values are treated identically. The null wide character and wchar_t values not corresponding to valid characters are not treated specially.


PARAMETERS

ws1 

Is the destination wide character object.

ws2 

Is the source wide character object.

n 

Is the number of wide characters to copy.


RETURN VALUES

The wmemcpy() function returns ws1.


CONFORMANCE

ANSI/ISO 9899-1990/AM 1-1995


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
wmemchr(), wmemcmp(), wmemmove(), wmemset()


PTC MKS Toolkit 10.4 Documentation Build 39.