Determines whether the buffer address is valid and exists within the heap.
int heap_validate_buffer(
    void * buf
);
The value of buf passed to heap_validate_buffer() must be a value returned from calloc, malloc, or realloc. heap_validate_buffer() will fail for values of buf+n where n >= 1.
0 (zero) 
0 (zero) 
EACCES | 
The buffer address does not exist within the process. | 
EINVAL | 
The heap is not a valid MPOOL or the buffer does not belong to the heap. | 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 4.0 | intime/rt/include/heap.h | heap.h | clib.lib |