1 /* -----------------------------------------------------------------------------
3 * User-overridable RTS hooks.
5 * ---------------------------------------------------------------------------*/
7 #include "PosixSource.h"
13 MallocFailHook (lnat request_size /* in bytes */, char *msg)
15 fprintf(stderr, "malloc: failed on request for %lu bytes; message: %s\n", request_size, msg);