[PATCH 5/6] Remove miscellaneous debris from libio.

Florian Weimer fweimer@redhat.com
Tue Feb 20 10:26:00 GMT 2018


On 02/19/2018 09:10 PM, Andreas Schwab wrote:
> On Feb 19 2018, Florian Weimer <fweimer@redhat.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?

Thanks,
Florian



More information about the Libc-alpha mailing list