AR# 9189


Solaris - Setting the temporary variable in UNIX


Keywords: Solaris, temp, variable, set, env

Urgency: Standard

General Description:

How do you set the temporary variable in UNIX to point to a location
other than the default /var/tmp?


In UNIX, there is no global temporary variable setting as there is in
Windows. Instead, the temporary variable is controlled on a per program
basis. For the Xilinx tools, the location of the temporary file is
determined by the tempnam system call. By default, the Solaris tempnam
will use the /var/tmp directory, which may have considerably less space
than your standard partition. You can override the use of the default
directory by setting the environment variable TMPDIR to an alternate
directory which has more free space available.
AR# 9189
日期 12/17/2001
状态 Archive
Type 综合文章
People Also Viewed