|
Purpose |
Determines the size of the largest block in the heap or whether mallocx() will succeed | |
|
Syntax |
size_t heap_avail(size_t size); | |
|
Parameters |
size_t size |
size of the heap block required |
|
Description |
This function has two modes of operation.
| |
|
Return values |
The size of memory block asked for or the largest memory block | |