memmove(3)

memmove3

Copy byte string

Usage

#include <string.h>

void *

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

Library

Standard C Library (libc, -lc)

Overview

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.

Return values

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

Releases

163 releases since Mac OS X 10.0; the text changed 4 times.

  1. 10.0–10.1.5
  2. 10.2–10.4.11
  3. 10.5–10.6.8
  4. 10.7–10.8.5
  5. 10.9–26.5

Standards

The memmove() function conforms to ISO/IEC 9899:1990 (“ISO C90”).

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.