STD_MoveMemory

Syntax

#include <nitro/std.h>

void* STD_MoveMemory(void *destp, const void *srcp, u32 size);
void* STD_MemMove(void *destp, const void *srcp, u32 size);

Arguments

src Transfer source address
dest Transfer destination address
size Transfer size.

Return Values

The destination address.

Description

Moves data in the CPU. Data can be moved properly, even if the source and destination transfer regions overlap each other. It carries out the same operation as the C standard function memmove.

STD_MemMove is defined as another name for STD_MoveMemory.

When accessing VRAM, use one of the following functions: MI_CpuMove8(), MI_CpuMove16(), MI_CpuMove32(), MI_CpuMoveFast().

See Also

MI_CpuCopy*
STD_CopyMemory

Revision History

2008/11/19 Corrected errors.
2007/12/10 Initial version.


CONFIDENTIAL