Comment by unwind
4 hours ago
No actual C programmer who has been around the block more than halfway should do that. The mantra is: "read into a character buffer, then parse that".
It's more code, sure, but it buys you a lot of good things. I/O is hard.
No comments yet
Contribute on Hacker News ↗