next up previous contents index
Next: 19.3.6 memdebug_bogosity: Prints a Up: 19.3 Additional Debugging Utilities Previous: 19.3.4 memdebug_sweep: Check validity

19.3.5 memdebug_printf: A printf-style routine guaranteed not to allocate memory

 

SYNOPSIS

#include <oskit/memdebug.h>

int memdebug_printf(const char *fmt, ...);

DESCRIPTION

Works just like standard libc printf, but this function must be guaranteed to not allocate any memory while it runs.

PARAMETERS

fmt
The standard printf format string.
...
The standard printf arguments for the specific format string.

RETURNS

Returns the standard printf return value.



University of Utah Flux Research Group