From owner-freebsd-hackers Fri Jan 19 17:21:23 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA12798 for hackers-outgoing; Fri, 19 Jan 1996 17:21:23 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA12791 for ; Fri, 19 Jan 1996 17:21:21 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id SAA09131; Fri, 19 Jan 1996 18:12:54 -0700 From: Terry Lambert Message-Id: <199601200112.SAA09131@phaeton.artisoft.com> Subject: Re: Change to stdio.h to export `cookie?' To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Fri, 19 Jan 1996 18:12:54 -0700 (MST) Cc: terry@lambert.org, torek@BSDI.COM, markd@grizzly.com, hackers@FreeBSD.org In-Reply-To: <1932.822093339@time.cdrom.com> from "Jordan K. Hubbard" at Jan 19, 96 03:15:39 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org Precedence: bulk > > Personally, I'd use: > > > > struct myfile { > > FILE *fp; > > caddr_t *userdata; > > } > > > > And wrapper all FILE * manipulation functions instead. > > That implies that you can easily change all the references to it. In > this particular case, I don't feel like munging the insides of TCL, > nor would I wish to maintain said hacks even if it were relatively > easy.. :-) I thought you knew; FILE * is an opaque type; there are *no* references to it outside of stdio. 8-) 8-) 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.