wmemcpy

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

Library:LibC
Classification:Single UNIX
Service:Characters and Strings

Syntax

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

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.

n

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

Return Values

Returns a pointer to dst.

Remarks

The wmemcpy 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