Date: Tue, 06 May 2008 06:57:58 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: David Schultz <das@FreeBSD.ORG> Cc: src-committers@FreeBSD.ORG, John Baldwin <jhb@FreeBSD.ORG>, Alfred Perlstein <alfred@FreeBSD.ORG>, cvs-all@FreeBSD.ORG, 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: <14181.1210057078@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 06 May 2008 01:35:04 -0400." <20080506053504.GA66588@zim.MIT.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20080506053504.GA66588@zim.MIT.EDU>, David Schultz writes: >I believe FILE is required to be a complete type, but it need not >expose any usable fields to applications. For instance, Well, we may have to dig in the history a bit. BSD has a different stdio implementation than AT&T used, in CFRONT it was known as "BSD stdio". If you look at how some of the printf* family functions are implemented in libc, you will find liberal use of creating FILE's that point to memory buffers etc. The question in my mind is, if this extension ability, and its consequent dependence on the internals of FILE, have been flaunted at USENIX ATC at some point, and thus must be considered a published API. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14181.1210057078>