Re: Temporary files best practice?
Re: Temporary files best practice?
- Subject: Re: Temporary files best practice?
- From: Dave Dribin <email@hidden>
- Date: Sun, 2 Sep 2007 13:40:21 -0500
On Sep 2, 2007, at 1:10 PM, Andrew Merenbach wrote:
What about creating temporary folder subfolders, though? Looking
at the mkstemp man page, it doesn't sound as though mkstemp
supports making folders. If one wishes to write property-list-
style data, the file descriptor from mkstemp() would be inadequate
unless on wishes to convert to NSData, right?
Look at mkdtemp() in the same man page. It'll create a directory,
and then you can put whatever you want in that directory.
-Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden