Open Files 5.3.0
Multi-Platform Event-Driven Application Framework
Open Files Heap Handling

Open Files provides routines that abstract heap functions. A port can map these functions to underlying platform specific heap functions or can use Open Files's heap management facility.

The documentation of these APIs may include specific information relevant only to the Open Files heap

Heap Functions:

Function Description
ofc_heap_load Initialize Heap Subsystem
ofc_heap_unload Deinitialize Heap Subsystem
ofc_free Free a chunk of memory
ofc_heap_check_alloc Check if a heap block is allocated
ofc_heap_dump_chunk Dump info on heap chunk
ofc_malloc Allocate a chunk
ofc_calloc Allocate and initialize chunk
ofc_realloc Realloc a chunk of memory
ofc_heap_dump_stats Dump Heap Statistics
ofc_heap_dump Dump info all all allocated chunks
ofc_heap_snap Mark currently allocated memory as valid