pool_register_malloc - allow pool to own malloc'd memory |
#include <pool.h> void pool_register_malloc (pool, void *ptr); |
Register an anonymous area of malloc-allocated memory which will be freed (with free(3)) when the pool is deleted. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |