Carbon


PurgeMemSys

Header: MacMemory.h Carbon status: Unsupported

Purges the system heap.

void PurgeMemSys (
    Size cbNeeded
);
cbNeeded

The size, in bytes, of the block for which PurgeMemSys should attempt to make room.

DISCUSSION

The PurgeMemSys function works like the PurgeMem function does, but purges the system heap instead of the current heap.

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

Because PurgeMemSys purges memory, you should not call it at interrupt time.

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)