[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: performance and /tmp
From: |
Larry Jones |
Subject: |
Re: performance and /tmp |
Date: |
Thu, 25 Jan 2001 12:50:01 -0500 (EST) |
address@hidden writes:
>
> Given the issues about performce I thought I'd
> ask this "in the open" ... just to be sure:
>
> "Is it /tmp?"
>
> Not /var/tmp or tmpfile(3) or $TEMP or somthing like that?
In general, it's the directory specified by the first one of the
following that is specified:
1) The directory specified by the -T global option.
2) The value of the $TMPDIR environment variable.
3) The default directory specified in options.h (which is /tmp unless
you've changed it).
4) /tmp.
Unless, of course, your system doesn't provide a library function for
creating temporary files in a particular directory (mkstemp(),
tempnam(), or mktemp()). In that case, it's whatever tmpnam(3) says.
-Larry Jones
It must be sad being a species with so little imagination. -- Calvin