Skip to main content

memmove

Function memmove 

Source
pub unsafe fn memmove(dst: *mut u8, src: *const u8, n: usize)
Expand description

Copy n bytes from src to dst, handling overlapping regions.

Safe for any src/dst alignment and overlap pattern.

ยงSafety

Both src and dst must be valid for n bytes.