|
|
coherent
free() General Function free() Return dynamic memory to free memory pool vvooiidd ffrreeee(_p_t_r) cchhaarr *_p_t_r; free helps you manage the arena. It returns to the free memory pool memory that had previously been allocated by malloc, calloc, or realloc. free marks the block indicated by _p_t_r as unused, so the malloc search can coalesce it with contiguous free blocks. ptr must have been obtained from malloc, calloc, or realloc. ***** Example ***** For an example of how to use this routine, see the entry for malloc. ***** See Also ***** arena, calloc(), general functions, malloc(), realloc(), setbuf() ***** Diagnostics ***** free prints a message and calls aabboorrtt if it discovers that the arena has been corrupted. This most often occurs by storing data beyond the bounds of an allocated block. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.