• 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: Preview in Internet Explorer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preview in Internet Explorer


  • Subject: Re: Preview in Internet Explorer
  • From: Aaron Tuller <email@hidden>
  • Date: Sun, 7 Jul 2002 14:57:45 -0700

At 6:45 AM +1000 7/8/02, Douglas Stetner wrote:
The environment variable TMPDIR (if set), the argument tmpdir (if
non-NULL), the directory P_tmpdir, and the directory /tmp are tried, in
the listed order, as directories in which to store the temporary file.

I would at least check for the environment variable TMPDIR to see if the user
wants his temp files somewhere else... The TMPDIR environment variable should
be honoured by well behaved apps.

or you could just use:

NSTemporaryDirectory
Returns the temporary directory on the user's system.

NSString *NSTemporaryDirectory(void)

Discussion

Returns a string containing the path of the current temporary directory. If no such directory is currently available, this function returns nil.

-aaron
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Screen saver and preview crashing
  • Next by Date: Re: Avoiding Cached ImageReps?
  • Previous by thread: Re: Preview in Internet Explorer
  • Next by thread: Re: Preview in Internet Explorer
  • Index(es):
    • Date
    • Thread