![]() |
TempFreeMem |
||||
Header: | MacMemory.h | Carbon status: | Supported | |
Returns the total amount of memory available for temporary allocation.
SInt32 TempFreeMem ();
The total amount of free temporary memory, in bytes, that you could allocate by calling TempNewHandle. Because these bytes might be dispersed throughout memory, it is ordinarily not possible to allocate a single relocatable block of that size.0
Even though TempFreeMem does not move or purge memory, you should not call it at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.