This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] [BZ 1190] Make EOF sticky in stdio.
- From: Zack Weinberg <zackw at panix dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>, Andreas Schwab <schwab at linux-m68k dot org>, Siddhesh Poyarekar <siddhesh at gotplt dot org>
- Date: Mon, 12 Mar 2018 11:31:12 -0400
- Subject: Re: [PATCH v2] [BZ 1190] Make EOF sticky in stdio.
- Authentication-results: sourceware.org; auth=none
- References: <20180222002306.5998-1-zackw@panix.com>
On Wed, Feb 21, 2018 at 7:23 PM, Zack Weinberg <zackw@panix.com> wrote:
> C99 specifies that the EOF condition on a file is "sticky": once EOF
> has been encountered, all subsequent reads should continue to return
> EOF until the file is closed or something clears the "end-of-file
> indicator" (e.g. fseek, clearerr).
Ping?