Re: Preview in Internet Explorer
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.