wcsmemcpy

Copies the number of wide characters specified by length from one buffer to another buffer.

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <wchar.h> 
   
  wchar_t  *wcsmemcpy (
     wchar_t         *dst,
     const wchar_t   *src,
     size_t           length);
  

Parameters

dst

(OUT) Points to a buffer into which to copy the wide characters.

src

(IN) Points to a buffer containing the wide characters to be copied.

length

(IN) Specifies the number of wide characters to copy.

Return Values

Returns a pointer to dst.

Remarks

The wcsmemcpy function copies the specified number characters from the buffer pointed to by src into the buffer pointed to by dst.

If length is zero, no characters are copied.

See Also