OpenBSD Handbook Manuals
Search

wmemmove(3)

Canonical URL: /wmemmove.3/

WMEMMOVE(3) Library Functions Manual WMEMMOVE(3)

wmemmovecopy wide characters

#include <wchar.h>

wchar_t *
wmemmove(wchar_t *dst, const wchar_t *src, size_t len);

The () function copies len wide characters from buffer src to buffer dst. The two buffers may overlap; the copy is always done in a non-destructive manner.

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

memmove(3), wcscpy(3), wcslcpy(3), wmemcpy(3)

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

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

OpenBSD 7.8 June 5, 2013 WMEMMOVE(3)

Need conceptual guidance? Continue in the OpenBSD Handbook.