- Inside Macintosh: Memory /
- Chapter 1 - Introduction to Memory Management / Memory Management Reference
- Memory Management Routines
Allocating and Releasing Relocatable Blocks of Memory
You can use the NewHandle function to allocate a relocatable block of memory. If you want to allocate new blocks of memory with their bits precleared to 0, you can use the NewHandleClear function.
- WARNING
- You should not call any of these memory-allocation routines at
interrupt time.
You can use the DisposeHandle procedure to free relocatable blocks of memory you have allocated.
Subtopics
- NewHandle
-
- NewHandleClear
-
- DisposeHandle
-
© Apple Computer, Inc.
3 JUL 1996