__ufree() — Return storage to a user-created heap
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
Language Environment | both |
Format
#include <uheap.h>
void __ufree(__uheapid_t heapid, void *ptr);
General description
The __ufree() function returns storage to the heap identified by
the heapid. If the returned storage does not belong to the given
heap, the result is unpredictable.
- Parameter
- Description
- heapid
- The identifier of the user-created heap to which the storage is to be returned.
- ptr
- A pointer to the storage to be returned to the heap.
Returned value
__ufree() returns no values.