I don't think I've ever seen ungetc() used in production code.
I appreciate the "do it yourself" thing - but in 2023 unless you're building a product for a known ascii system, you're setting yourself up for pain when your code is run in San José,
I appreciate the "do it yourself" thing - but in 2023 unless you're building a product for a known ascii system, you're setting yourself up for pain when your code is run in San José,
I have, I wish I hadn't, but there we go.
I'd rank it up there with f77 return labels as being coding clusterfucks.