write to a char* instead of stdout

Printable View