Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 1996 01:40:55 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        hackers@freebsd.org
Subject:   Re: Change to stdio.h to export `cookie?' 
Message-ID:  <23523.821958055@time.cdrom.com>
In-Reply-To: Your message of "Thu, 18 Jan 1996 17:17:05 %2B1100." <199601180617.RAA30637@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Since the cookie points to an object that is decided by the caller
> of funopen(), it is impossible to know what it points to.

True, but when I have a fairly constrained set of circumstances where
I know that the only FILE* pointers I'm being passed are ones created
by funopen(), it's not a problem - I simply know what the cookie is
going to be.

> It could only work for cookies created by the stdio implementation.
> Ick.

I'm not sure what you mean by this.

					Jordan



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