![]() |
NewPtrSys |
||||
Header: | MacMemory.h | Carbon status: | Unsupported | |
Allocates a nonrelocatable block of memory of a specified size in the system heap.
Ptr NewPtrSys ( Size byteCount );
The requested size (in bytes) of the nonrelocatable block.
A pointer to the new block. If NewPtrSys fails to allocate a block of the requested size, it returns NULL.
The NewPtrSys function works much as the NewPtr function does, but attempts to allocate the requested block in the system heap zone instead of in the current heap zone.
Call the function MemError to get the result code. See
Because NewPtrSys allocates memory, you should not call it at interrupt time.
Not supported in Carbon. Not available in Carbon.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)