Add line wrapping and fix formatting in C API