A tiny C library that word-wraps text: wrap_print(out, text, width).
wrap_print(out, text, width)
Zero-clause BSD license.