Re: in-memory files?
Re: in-memory files?
- Subject: Re: in-memory files?
- From: "R. Tony Goold" <email@hidden>
- Date: Mon, 20 Aug 2001 10:52:23 -0400
Thanks, but that's still not it. The situation is that there is code I
want to re-use that wants to write to an open file descriptor, (using
fwrite(), fprintf(), etc.) and I want to capture that output in memory,
rather than letting it get out to the filesystem.
Well, I'm just about stumped... the only memory-related function I can
think of that returns a file descriptor is shm_open(). If you don't mind
using shared memory for your task, then that ought to solve the problem.
Cheers,
Tony