Date: Sun, 6 May 2001 12:11:45 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Rafal Maj cc: djgpp AT delorie DOT com Subject: Re: More TMP dir ? In-Reply-To: <9d32va$fhs$1@info.cyf-kr.edu.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 6 May 2001, Rafal Maj wrote: > How can I tell DJGPP to use e:\tmp as temporary directory, but alsow to use > c:\tmp if e:\tmp is not available ? Set the environment variable TMPDIR to "e:/tmp", and then use the library function `tmpnam' to generate temporary file names, it employs several fallbacks. See the docs of `tmpnam' for more details.