delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/06/05:10:34

Date: Sun, 6 May 2001 12:11:45 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Rafal Maj <maj_rafal AT poczta DOT onet DOT pl>
cc: djgpp AT delorie DOT com
Subject: Re: More TMP dir ?
In-Reply-To: <9d32va$fhs$1@info.cyf-kr.edu.pl>
Message-ID: <Pine.SUN.3.91.1010506120744.6163B-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019