Scroll to navigation

SDL_memmove(3) SDL3 FUNCTIONS SDL_memmove(3)

NAME

SDL_memmove - Copy memory.

HEADER FILE

Defined in SDL3/SDL_stdinc.h

SYNOPSIS

#include "SDL3/SDL.h"
void * SDL_memmove(void *dst, const void *src, size_t len);

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

The destination memory region. Must not be NULL.
The source memory region. Must not be NULL.
The length in bytes of both dst and src .

RETURN VALUE

Returns dst .

THREAD SAFETY

It is safe to call this function from any thread.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_memcpy(3)

SDL 3.1.6 Simple Directmedia Layer