MEMMOVE(3) Library Functions Manual MEMMOVE(3)

memmove
copy byte string

Standard C Library (libc, -lc)

#include <string.h>

void *
memmove(void *dst, const void *src, size_t len);

The memmove() function copies len bytes from string src to string dst. The two strings may overlap; the copy is always done in a non-destructive manner.

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

bcopy(3), memccpy(3), memcpy(3), strcpy(3)

The memmove() function conforms to ANSI X3.159-1989 (“ANSI C89”).
June 4, 1993 NetBSD 9.0