• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: in-memory files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: in-memory files? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: FIFOs.
  • Next by Date: Re: WTF? How can this work?
  • Previous by thread: Re: in-memory files?
  • Next by thread: Re: in-memory files?
  • Index(es):
    • Date
    • Thread