OpenBSD manual page server

Manual Page Search Parameters

WMEMCPY(3) Library Functions Manual WMEMCPY(3)

wmemcpycopy wide characters

#include <wchar.h>

wchar_t *
wmemcpy(wchar_t * restrict dst, const wchar_t * restrict src, size_t len);

The () function copies len wide characters from buffer src to buffer dst. If the two buffers may overlap, wmemmove(3) must be used instead.

The wmemcpy() function returns the original value of dst.

memcpy(3), wcscpy(3), wcslcpy(3), wmemmove(3)

The wmemcpy() function conforms to ISO/IEC 9899:1999 (“ISO C99”) and was first introduced in ISO/IEC 9899/AMD1:1995 (“ISO C90, Amendment 1”).

The wmemcpy() function was ported from NetBSD and first appeared in OpenBSD 3.8.

June 5, 2013 OpenBSD-7.6