TMPDIR is documented but many utilities and user applications do not use the new tempnam() function but rather the old mktemp(). With Release 2 of UNIX System V, the C compiler has been changed to use /usr/tmp by default. The main utility that concerns me is "sort", which can really eat up temp space.