1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.2.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>STD_MoveMemory</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">STD_MoveMemory<img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16<dl> 17 <dd><PRE><CODE>#include <nitro/std.h> 18 19void* STD_MoveMemory(void *destp, const void *srcp, u32 size);</CODE></PRE> 20<PRE><CODE>void* STD_MemMove(void *destp, const void *srcp, u32 size); 21</CODE></PRE></dd> 22</dl> 23 24<h2>Arguments</h2> 25<table border="1" width="100%"> 26 <TBODY> 27 <TR> 28<TD width="13%"><SPAN class="argument">src</SPAN></TD> 29<TD width="87%">Transfer source address</TD> 30 </TR> 31 <TR> 32<TD width="13%"><SPAN class="argument">dest</SPAN></TD> 33<TD width="87%">Transfer destination address</TD> 34 </TR> 35 <TR> 36<TD><SPAN class="argument">size</SPAN></TD> 37<TD>Transfer size. 38 </TD> 39 </TR> 40 </TBODY> 41</table> 42 43<h2>Return Values</h2> 44<p> 45<p>The destination address.</p> 46</p> 47 48<H2>Description</H2> 49<P>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 <CODE>memmove</CODE>.</P> 50<p><CODE>STD_MemMove</CODE> is defined as another name for <CODE>STD_MoveMemory</CODE>.</p> 51<p>When accessing VRAM, use one of the following functions: <A href="../../mi/memory/MI_CpuMove.html"><CODE>MI_CpuMove8(), MI_CpuMove16(), MI_CpuMove32(), MI_CpuMoveFast()</CODE></A>.</p> 52 53<h2>See Also</h2> 54<p><A href="../../mi/memory/MI_CpuMove.html"><CODE>MI_CpuCopy*</CODE></A><BR> <A href="STD_CopyMemory.html"><CODE>STD_CopyMemory</CODE></A></p> 55 56<H2>Revision History</H2> 57<P> 582008/11/19 Corrected errors.<br> 2007/12/10 Initial version.<BR> 59</P> 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62