mbkfree.3alc - Man Page
mbk memory allocator
Synopsis
#include "mut.h" void mbkfree(p) void ∗p;
Parameter
- p
Pointer to be given back to the system
Description
mbkfree frees a pointer. It is now a day just an encapsulation of the system free function, but may evolve to a special allocator in the future. Its use is strongly encouraged.
Example
#include "mut.h" #include "mlo.h" void free_con(pt) lofig_list ∗pt; { locon_list ∗c = pt->LOCON, ∗next; while (c) { next = c->NEXT; mbkfree((void ∗)c); c = next; } pt->LOCON = NULL; }
See Also
mbk(1), mbkalloc(3).
Referenced By
mbkalloc.3alc(3), mbkrealloc.3alc(3).
October 1, 1997 ASIM/LIP6 MBK UTILITY FUNCTIONS