Function SDL_memmove
pub unsafe fn SDL_memmove(
dst: *mut c_void,
src: *const c_void,
len: usize,
) -> *mut c_void
Available on crate feature
dep_sdl3
only.Expand description
Copy memory ranges that might overlap.
It is okay for the memory regions to overlap. If you are confident that the
regions never overlap, using SDL_memcpy()
may improve performance.
§Parameters
dst
: The destination memory region. Must not be NULL.src
: The source memory region. Must not be NULL.len
: The length in bytes of bothdst
andsrc
.
§Return value
Returns dst
.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.