Reports the size of a buffer returned by calloc, malloc, or realloc.
size_t heap_buffer_size(void *p);
p
Buffers always have a length of at least four and may be larger than the length requested by calloc, malloc, or realloc.
0
(zero)
EEXIST |
The heap was deleted. |
EINVAL |
The heap is not a valid MPOOL. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 4.0 | intime/rt/include/heap.h | heap.h | clib.lib |