This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]