Return the total available space on the heap.
size_t __fastcall__ _heapmemavail (void);
The function returns the total number of bytes available on the heap.
- This function is of less use than usually assumed, since the returned heap space may be available but not in one block. So even if this function says that several times more heap space is available than needed, malloc may still return
- See also
_heapadd, _heapblocksize, _heapmaxavail, calloc, free, malloc, realloc