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
Allocating and Freeing Memory /


OTFreeMem

Frees memory allocated from the Open Transport memory pool.

C INTERFACE
void OTFreeMem(void* arg)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
arg
A pointer to the memory to free. It must have been allocated by the OTAllocMem function.
DISCUSSION
The OTFreeMem function deallocates memory that you have allocated using the OTAllocMem function.

SPECIAL CONSIDERATIONS
You can call this routine at both hardware interrupt level and from a deferred task. You need to call the OTEnterInterrupt function before you make this call from a hardware interrupt.

SEE ALSO
The OTAllocMem function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998