• 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: Ondra Cada <email@hidden>
  • Date: Sun, 19 Aug 2001 22:45:52 +0200

John,

>>>>>> John C. Randolph (JCR) wrote at Sun, 19 Aug 2001 11:49:30 -0700:
JCR> In NeXTSTEP, there was a function that would open a file descriptor
JCR> which allowed you to write into a memory buffer using fwrite(),
JCR> fprintf(), etc. I've been looking for an equivalent on Mac OS X, and
JCR> it's not jumping out at me. Isn't there something in POSIX that does
JCR> this? On NeXTSTEP, IIRC, it was called something like "NXOpenMemory()".

NSMutableData is meant for this in OpenStep. In case you *do* need the posix
API, well, I would probably use a pipe with NSMutableData on the receiving
end ;)
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


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

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