From owner-freebsd-hackers Thu Jan 18 01:41:49 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA16561 for hackers-outgoing; Thu, 18 Jan 1996 01:41:49 -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 BAA16554 for ; Thu, 18 Jan 1996 01:41:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id BAA23525; Thu, 18 Jan 1996 01:40:56 -0800 To: Bruce Evans cc: hackers@freebsd.org Subject: Re: Change to stdio.h to export `cookie?' In-reply-to: Your message of "Thu, 18 Jan 1996 17:17:05 +1100." <199601180617.RAA30637@godzilla.zeta.org.au> Date: Thu, 18 Jan 1996 01:40:55 -0800 Message-ID: <23523.821958055@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-hackers@freebsd.org Precedence: bulk > 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