Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 1996 15:13:55 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Chris Torek <torek@BSDI.COM>
Cc:        hackers@freebsd.org, markd@grizzly.com
Subject:   Re: Change to stdio.h to export `cookie?' 
Message-ID:  <1918.822093235@time.cdrom.com>
In-Reply-To: Your message of "Thu, 18 Jan 1996 15:15:11 MST." <199601182215.PAA20081@bsdi.BSDI.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1918.822093235>