Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 27 - Utilities Reference / Functions
Memory Manipulation Utility Functions /


OTMemmove

Copies data from one memory location to another memory location.

C INTERFACE
void OTMemmove      (void* dest,
                     const void* src,
                     size_t nBytes)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
dest
A pointer to the location into which you are copying data.
src
A pointer to the location from which you are copying data.
nBytes
The number of bytes of data you want to copy.
DISCUSSION
You can use this function for all memory operations except where the source or destination locations hold uncached memory. In these cases, the Mac OS function BlockMoveDataUncached is much faster.

To move memory where the source and destination areas do not overlap, use the OTMemcpy function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998