Carbon


PurgeMemSys

Header: MacMemory.h Carbon status: Unsupported

Purges the system heap.

void PurgeMemSys (
    Size cbNeeded
);
Parameter descriptions
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 Carbon.


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