How to wrap `printf` in libc properly?

I always like linking to your original post on the CString::as_ptr() issue.