util.system-temporary-directory

function

Library: Utilities (OMUTIL)
Import : omutil.xmd

Returns: returns a stream containing the path to the system directory for temporary files.


Declaration
export external stream function system-temporary-directory


Purpose

The system-temporary-directory function 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 MS Windows systems.

Example:


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

Other Library Functions