Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: TMPDIR--Thanks Keywords: tmpnam(3S) Message-ID: <10127@smoke.BRL.MIL> Date: 26 Apr 89 08:29:43 GMT References: <542@fallst.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <542@fallst.UUCP> tkevans@fallst.UUCP (Tim Evans) writes: >... the man page for tmpnam(3S) ... says the environment variable TMPDIR, >if set, will override anything otherwise specified--at least during >compilation. No, no, no -- it is a RUN-TIME feature, not a compilation feature! Setting the environment variable TMPDIR will cause the specified directory to be used by any program that uses the library routine or otherwise cooperates with this convention. (Not all programs do; some have the temp-file directory name hardwired into them.)