#include "HeapManager.h"
Go to the source code of this file.
Functions | |
size_t | HeapFreeSpace (HEAP_BLOCK *pHeap) |
This function tells us how much free memory is available for allocation. |
Definition in file HeapFreeSpace.c.
size_t HeapFreeSpace | ( | HEAP_BLOCK * | pHeap | ) |
This function tells us how much free memory is available for allocation.
pHeap | pointer to HEAP_BLOCK to check for free memory |
Definition at line 18 of file HeapFreeSpace.c.
References HEAP_BLOCK::__flp, HEAP_BLOCK::BrkVal, HEAP_BLOCK::End, __freelist::nx, HEAP_BLOCK::Start, and __freelist::sz.
Referenced by StackHeapAvailiable().