Difference between revisions of "TMPDIR()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return the current temporary file directory location
 
Function to return the current temporary file directory location
 
  
 
==Syntax==
 
==Syntax==
 
TMPDIR()
 
TMPDIR()
 
  
 
==See Also==
 
==See Also==
 
[[DB_TMPDIR]], [[SET TMPDIR]], [[SYS()]]
 
[[DB_TMPDIR]], [[SET TMPDIR]], [[SYS()]]
 
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 22: Line 18:
 
? tmpdir()
 
? tmpdir()
 
</code>
 
</code>
 
+
 
+
==Products==
+
Recital Server, Recital
+
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Environment]]
 
[[Category:Environment]]
[[Category:Environment Functionss]]
+
[[Category:Environment Functions]]

Revision as of 08:08, 7 December 2012

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()