On Wednesday, November 2, 2016 at 11:38:11 AM UTC-5, Keith Thompson wrote:
> luser droog <
luser...@gmail.com> writes:
> > Two distinct feature-requests have conspired to produce
> > a requirement for my application (postscript interpreter
> > library) to support /interfaced/ FILE objects. So I'm
> > following my usual course: a public brainstorm.
> >
> > So I need to make in internal `struct file` type with
> > variant subtypes, and `my_read()` and `my_write()` functions
> > which use `getchar()` and `putchar()` only on real FILE*
> > variants.
> >
> > I also need a "mock file" which is backed by a counted
> > string.
> [snip]
>
> If you're able to assume POSIX support, take a look at fmemopen().
> If you have further questions about fmemopen(), I suggest
> comp.unix.programmer.
>
Much obliged. My friend Vincent was able to emulate it
So, see yall there, maybe. Sorry for the noise.