pool_set_bad_malloc_handler - set handler for when malloc fails |
#include <pool.h> void pool_set_bad_malloc_handler (void (*fn) (void)); |
Set the function which is called when an underlying malloc or realloc operation fails. The default is that abort(3) is called. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |