Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 1996 18:12:54 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        jkh@time.cdrom.com (Jordan K. Hubbard)
Cc:        terry@lambert.org, torek@BSDI.COM, markd@grizzly.com, hackers@FreeBSD.org
Subject:   Re: Change to stdio.h to export `cookie?'
Message-ID:  <199601200112.SAA09131@phaeton.artisoft.com>
In-Reply-To: <1932.822093339@time.cdrom.com> from "Jordan K. Hubbard" at Jan 19, 96 03:15:39 pm

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



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