From owner-freebsd-hackers Fri Jan 19 15:14:07 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA23507 for hackers-outgoing; Fri, 19 Jan 1996 15:14:07 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA23501 for ; Fri, 19 Jan 1996 15:14:05 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id PAA01920; Fri, 19 Jan 1996 15:13:55 -0800 To: Chris Torek cc: hackers@freebsd.org, markd@grizzly.com Subject: Re: Change to stdio.h to export `cookie?' In-reply-to: Your message of "Thu, 18 Jan 1996 15:15:11 MST." <199601182215.PAA20081@bsdi.BSDI.COM> Date: Fri, 19 Jan 1996 15:13:55 -0800 Message-ID: <1918.822093235@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@freebsd.org Precedence: bulk > Hmm. One problem here is that the cookie in a regular old fopen()ed > file *is* used; it points back to the FILE struct. A user-definable > field should probably be separate. If you fiddle with stdout->_cookie, > you will get burned.... So what you're basically telling me is that if I want a handy data hook to use from other systems, I should not use the cookie and simple extend the structure for this? Hmmm.. Jordan