heapspace
Description:
Function heapspace returns the amount of memory available for the heap/stack in bytes.
This function name starts with a lowercase letter. |
Parameters:
(This function has no parameters.)
Return Values:
The free space on the heap in bytes. The stack and the heap occupy a shared memory area, so this value indicates the number of bytes that is left for either the stack or the heap.
Examples:
public OnGameModeInit() { printf("Heapspace: %i kilobytes", heapspace() / 1024); return 1; }