MGL_memcpy
Copies a block of memory as fast as possible.
Declaration
void MGLAPI MGL_memcpy(
void *dst,
void *src,
int n)
Prototype In
mgraph.h
Parameters
dst |
Pointer to destination block |
src |
Pointer to source block |
n |
Number of bytes to copy |
Description
This function copies a block of memory as fast as possible, and has been optimized to copy the data 32 bits at a time for maximum performance. This function is similar to the standard C library memcpy function, but can correctly handle copying of memory blocks that are larger than 64Kb in size for 16 bit real mode environments. Note also that this function is generally a lot faster than some standard C library functions.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com