Carbon


ReserveMemSys

Header: MacMemory.h Carbon status: Unsupported

Allocates a relocatable block of memory as close to the bottom of the system heap zone as possible.

void ReserveMemSys (
    Size cbNeeded
);
cbNeeded

The number of bytes to reserve near the bottom of the system heap.

DISCUSSION

The ReserveMemSys function works much as the ReserveMem function does, but reserves memory in the system heap zone rather than in the current heap zone.

If you plan to lock a relocatable block for long periods of time in the system heap zone, use the ReserveMemSys function to reserve space for the block as low in the system heap as possible.

Call the function MemError to get the result code. See “Result Codes”.

AVAILABILITY

Not supported in Carbon. Not available in CarbonLib, but available when InterfaceLib 7.1 or later is installed. Exported by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)