logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_memmove - Copy memory ranges that might overlap.

Availability

       This function is available since SDL 3.2.0.

Description

       It  is okay for the memory regions to overlap. If you are confident that the regions never overlap, using
       SDL_memcpy () may improve performance.

Function 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 both dst and src .

Header File

       Defined in SDL3/SDL_stdinc.h

Name

       SDL_memmove - Copy memory ranges that might overlap.

Return Value

       Returns dst .

See Also

(3), SDL_memcpy(3)

Simple Directmedia Layer                           SDL 3.2.10                                     SDL_memmove(3)

Synopsis

#include"SDL3/SDL.h"void*SDL_memmove(void*dst,constvoid*src,size_tlen);

Thread Safety

       It is safe to call this function from any thread.

See Also