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 /


OTMemcpy

Copies data from one memory location to another memory location.

C INTERFACE
void OTMemcpy       (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 memory.
src
A pointer to the location from which you are copying memory.
nBytes
The number of bytes of memory you want to copy.
DISCUSSION
You can use this function for all memory operations except where

To compare the contents of two memory areas, use the OTMemcmp function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998