TMPDIR()

From Lianjapedia
Revision as of 06:45, 10 December 2012 by Admin (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return the current temporary file directory location

Syntax

TMPDIR()

See Also

DB_TMPDIR, SET TMPDIR, SYS()

Description

The TMPDIR() function is used to return the current temporary file directory location. The DB_TMPDIR environment variable sets the location. It can be overriden using the SET TMPDIR command.

Example

? getenv([DB_TMPDIR])
? tmpdir()
set tmpdir to "/usr/tmp/"
? tmpdir()