Date: Thu, 8 May 2008 18:47:26 +0200 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: cvs-src@freebsd.org Subject: Re: 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 Message-ID: <20080508164726.GA2596@britannica.bec.de> In-Reply-To: <alpine.LSU.1.00.0805081717111.8138@hermes-1.csi.cam.ac.uk> References: <200805051603.m45G3rrN089219@repoman.freebsd.org> <200805051637.43073.jhb@freebsd.org> <20080507064013.GU32532@elvis.mu.org> <200805071111.39938.jhb@freebsd.org> <20080507231444.GF32532@elvis.mu.org> <18466.22969.506620.244442@hergotha.csail.mit.edu> <alpine.LSU.1.00.0805081717111.8138@hermes-1.csi.cam.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080508164726.GA2596>