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_CopyMemory</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">STD_CopyMemory<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_CopyMemory(void *destp, const void *srcp, u32 size);</CODE></PRE> 20<PRE><CODE>void* STD_MemCpy(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%"><EM><STRONG>src</STRONG></EM></TD> 29 <TD width="87%">The transfer source address.</TD> 30 </TR> 31 <TR> 32 <TD width="13%"><EM><STRONG>dest</STRONG></EM></TD> 33 <TD width="87%">The transfer destination address.</TD> 34 </TR> 35 <TR> 36 <TD><EM><STRONG>size</STRONG></EM></TD> 37 <TD>Transfer size. 38 </TD> 39 </TR> 40 </TBODY> 41</table> 42 43<h2>Return Values</h2> 44<p> 45<p>None.</p> 46</p> 47 48<H2>Description</H2> 49<P>Uses CPU to perform memory copy. It carries out the same operation as the C standard function <CODE>memcpy()</CODE>.</P> 50<p><CODE>STD_MemCpy()</CODE> is defined as another name for <CODE>STD_CopyMemory()</CODE>.</p> 51<p>When accessing VRAM, use one of the following functions: <CODE><A href="../../mi/memory/MI_CpuCopy.html">MI_CpuCopy8(), MI_CpuCopy16(), MI_CpuCopy32(), MI_CpuCopyFast()</A></CODE>.</p> 52 53<h2>See Also</h2> 54<p><CODE><A href="../../mi/memory/MI_CpuCopy.html">MI_CpuCopy*</A>, <CODE><A href="STD_MoveMemory.html">STD_MoveMemory</A></p> 55 56<H2>Revision History</H2> 57<P> 582007/12/10 Initial version. 59</P> 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62