From owner-freebsd-current Sun Feb 11 20:26: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 03B7937B401 for ; Sun, 11 Feb 2001 20:26:07 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id PAA05625; Mon, 12 Feb 2001 15:25:37 +1100 Date: Mon, 12 Feb 2001 15:25:12 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Peter Wemm Cc: Matt Dillon , Tor.Egge@fast.no, eischen@vigrid.com, current@FreeBSD.ORG Subject: Re: HEADS UP: installworld gotchas In-Reply-To: <200102120118.f1C1IkU43227@mobile.wemm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 11 Feb 2001, Peter Wemm wrote: > I cant help but wonder why on earth we didn't have it like this from the > start: > > Index: include/stdio.h > =================================================================== > RCS file: /home/ncvs/src/include/stdio.h,v > retrieving revision 1.26 > diff -u -r1.26 stdio.h > --- include/stdio.h 2001/02/11 22:04:18 1.26 > +++ include/stdio.h 2001/02/12 01:27:16 > @@ -132,6 +132,9 @@ > > __BEGIN_DECLS > extern FILE __sF[]; > +extern FILE *__stdin; > +extern FILE *__stdout; > +extern FILE *__stderr; > __END_DECLS Once upon a time, people counted every instruction in getchar(), etc., and programmed it carefully to unnecessary indirections, not to mention function calls and locks. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message