|
|
Log in / Subscribe / Register

Would you like signs with those chars?

Would you like signs with those chars?

Posted Oct 26, 2022 13:15 UTC (Wed) by wtarreau (subscriber, #51152)
In reply to: Would you like signs with those chars? by geert
Parent article: Would you like signs with those chars?

Yes exactly! But when you're young you don't notice ;-) It's just that 0xFF also ends up the stream. Nowadays it's still possible to seldom spot programs which stop parsing input after 0xFF, and when I see that it just reminds me that they made the same mistake I made, believing that getchar() would return ... a char!


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds