• 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: Where to save temporary files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to save temporary files?


  • Subject: Re: Where to save temporary files?
  • From: Jason Coco <email@hidden>
  • Date: Sun, 12 Oct 2008 22:07:17 -0400


On Oct 12, 2008, at 10:59 , Andre-John Mas wrote:

Hi,

I am try to find out what the right place is to save a temporary file on the Mac is. I have looked at the following places:
/tmp
~/Library/Caches/<app name>


Are there other locations and are there any suggested usage policies?

I would use confstr(3) with _CS_DARWIN_USER_TEMP_DIR

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Where to save temporary files?
      • From: Kevin Van Vechten <email@hidden>
References: 
 >Where to save temporary files? (From: Andre-John Mas <email@hidden>)

  • Prev by Date: ipfw2 and fwd in Darwin
  • Next by Date: Re: Problems with aio_read
  • Previous by thread: Re: Where to save temporary files?
  • Next by thread: Re: Where to save temporary files?
  • Index(es):
    • Date
    • Thread