# Minimal printf and snprintf
Library supports both printf and snprintf in around 1300 bytes of flash.
Prints directly to stdio/UART without using malloc. Width size and prepending zero modifiers are supported. All other flags are ignored.
There is no error handling if a writing error occurs.
Supports:
* %d: signed integer [h, hh, (none), l, ll, z, j, t].
* %i: signed integer [h, hh, (none), l, ll, z, j, t].
* %u: unsigned integer [h, hh, (none), l, ll, z, j, t].
* %x: unsigned integer [h, hh, (none), l, ll, z, j, t], printed as hexadecimal number (e.g., ff).
* %X: unsigned integer [h, hh, (none), l, ll, z, j, t], printed as hexadecimal number (e.g., FF).
* %f: floating point (disabled by default). Precision modifier is supported (e.g. %.5f).
* %F: floating point (disabled by default, treated as %f). Precision modifier is supported (e.g. %.5F).
* %g: floating point (disabled by default, treated as %f). Precision modifier is supported (e.g. %.5g).
* %G: floating point (disabled by default, treated as %f). Precision modifier is supported (e.g. %.5G).
* %c: character.
* %s: string.
This file has been truncated. show original