3 ms·
Presumably it's the difference between a text-mode filehandle and a binary-mode filehandle. So (untested, because I'm baking a cake) printing to fdopen(1, "wb"
by jbert 17y ago
Presumably it's the difference between a text-mode filehandle and a binary-mode filehandle.
So (untested, because I'm baking a cake) printing to fdopen(1, "wb") should just send bytes, allowing printf etc to work?