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
);
Parameter descriptions
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 Carbon.


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