Carbon


FreeMemSys

Header: MacMemory.h Carbon status: Unsupported

Returns the total amount of free space in the system heap zone.

SInt32 FreeMemSys ();
function result

Total amount of free space, in bytes, in the system heap zone.0

DISCUSSION

The FreeMemSys function works like the FreeMem function does, but returns the total amount of free memory in the system heap zone instead of in the current heap zone.

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.

CARBON NOTES

Operations on the system heap are not allowed in Carbon.


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