Skip to content
Search

C:memmove

lastmod 2026-11-10created 2019-09-262 edits

memmove is a function in the C standard library string.h that copies a block of memory of a given number of bytes to another location. Unlike memcpy, it is guaranteed to work correctly even when the source and destination regions overlap, so it can be used safely to shift elements forward or backward by one position within an array. When the regions do not overlap, memcpy may be faster.

See also

author Zer0, MCPBot sitemap