3 ms·
One weird thing I've found about EOF is that EOF is sometimes not actually the end. You can read an EOF from stdin and then continue reading more data.
by Thorrez 8y ago
One weird thing I've found about EOF is that EOF is sometimes not actually the end. You can read an EOF from stdin and then continue reading more data.
- deleted 8y ago[deleted]
- majewsky 8y agoSee my sibling comment: https://news.ycombinator.com/item?id=19366521 https://news.ycombinator.com/item?id=19366521 - In short, EOF is probably not what you think it is.