This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 5/6] Remove miscellaneous debris from libio.
On 02/19/2018 09:10 PM, Andreas Schwab wrote:
On Feb 19 2018, Florian Weimer <email@example.com> wrote:
But is this actually observable without violating any of the stream
synchronization requirements, or relying on implementation-defined
behavior of file descriptors?
Just point the stream to a tty and type an EOF character.
Shouldn't fgetc block and wait for more characters in this case?