util.system-temporary-directory

function

Library: Utilities (OMUTIL)
Import : omutil.xmd

Returns: The path to the system directory for temporary files.


Declaration
export string function 
   system-temporary-directory


Purpose

util.system-temporary-directory returns the system directory for temporary files. This value may be different on different operating systems and for different users. Common values are /tmp for UNIX systems and C:\temp for Microsoft Windows systems.

Example

The following program will output the system temporary directory on the platform being used for execution.

  import "omutil.xmd" prefixed by util.
  
  process
     output "The system temporary directory on this platform is: " || util.system-temporary-directory || "%n"

Other Library Functions