TMPDIR--Thanks

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Apr 26 18:29:43 AEST 1989


In article <542 at fallst.UUCP> tkevans at 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.)



More information about the Comp.unix.questions mailing list