wmemmove()

copy wide characters in memory with overlapping areas 

Function


SYNOPSIS

#include <wchar.h>

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


DESCRIPTION

The wmemmove() function copies the specified number of wide characters from the second wide character object to the first wide character object. The copy is done in a fashion that ensures the data is copied correctly whether or not the regions overlap. 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 wmemmove() 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(), wmemcpy(), wmemset()


PTC MKS Toolkit 10.3 Documentation Build 39.