pub static mut malloc_message: Option<unsafe extern "C" fn(*mut c_void, *const i8)>Expand description
Allows overriding the function which emits the text strings forming the
errors and warnings if for some reason the STDERR_FILENO file descriptor
is not suitable for this.
malloc_message takes the cbopaque pointer argument that is null,
unless overridden by the arguments in a call to malloc_stats_print,
followed by a string pointer.
Please note that doing anything which tries to allocate memory in this function is likely to result in a crash or deadlock.