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 /


OTMemset

Sets the specified memory range to a specific value.

C INTERFACE
void OTMemset       (void* dest,
                     uchar_p toSet,
                     size_t nBytes)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
dest
A pointer to the memory location whose value you are setting.
toSet
The value you are setting the memory to.
nBytes
The number of bytes of memory you want to set.
DISCUSSION
Use the OTMemzero function to set a specified memory range to 0.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998