OpenBSD manual page server

Manual Page Search Parameters

MEMMOVE(3) Library Functions Manual MEMMOVE(3)

memmovecopy bytes

#include <string.h>

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

The () function copies len bytes from buffer src to buffer dst. The two buffers 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), strlcpy(3), wmemmove(3)

The memmove() function conforms to ANSI X3.159-1989 (“ANSI C89”).

The memmove() function first appeared in 4.3BSD-Reno.

June 5, 2013 OpenBSD-6.0