cvs commit: src/include stdio.h src/lib/libc/stdio clrerr.c
feof.c ferror.c fileno.c getc.c getchar.c local.h putc.c putchar.c
xprintf.c
Joerg Sonnenberger
joerg at britannica.bec.de
Thu May 8 16:47:37 UTC 2008
On Thu, May 08, 2008 at 05:18:23PM +0100, Tony Finch wrote:
> On Wed, 7 May 2008, Garrett Wollman wrote:
> >
> > I like the idea of making FILE opaque
>
> The C standard requires that FILE is an object type which means that it
> must not be opaque. (Opaque structures are incomplete types, which are
> not object types.)
The C standard is also quite explicit that anything but sizeof(FILE) is
implementation defined. I have not found a single reason why
sizeof(FILE) should be valid. I believe that is not intended by the
standard.
Joerg
More information about the cvs-src
mailing list