nothings / single_file_libs

List of single-file C/C++ libraries.
8.96k stars 588 forks source link

nanoprintf #166

Closed charlesnicholson closed 3 years ago

charlesnicholson commented 5 years ago

https://github.com/charlesnicholson/nanoprintf

C89/C90 single-file public domain printf library, good for firmware / minimal embedded systems without libc or heaps.

There are a ton of files in the repo but they're all for unit / conformance testing, scaffolding, CI, etc. The only implementation file is nanoprintf.h, which follows all of the STB guidelines.

It looks like my vim auto-format trimmed some trailing whitespace from a few other rows but made no semantic or layout changes. I'm happy to revert those if you want, lemme know.