RelTmpNam()

  RelTmpNam

Description

RelTmpNam() is used to return a string containing a "safe" temporary filename in a specified location.

Call Signature

string RelTmpNam ( string location )

Return Value

string

The temporary filename.

Argument

string location:

The location for the temporary file. Can be either a directory name or a file name from which the path will be extracted.

Remarks

The location can either be a directory name, in which case the temporary file name will be unique for this directory, or as a filename, in which case the path from this filename will be extracted and used as a base for the temporary filename.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.