# Synopsis

PDX_MSGT ugn_GetTempFileName(long option, int *count, char ***fname_ptrs)

# Purpose

Gets the temporary file names of the currently open models.

# Description

This function will return the number of temporary files currently open as well as the complete pathnames. The output argument fname_ptrs is an array of pointers that is allocated during this call and must be freed by the calling application. If the calling application is not part of libpdx, pdx_Free must be used to free the array.

# Input

## option

Options (no used)

# Output

## count

Number of temporary filenames in fname_ptrs

## fname_ptrs

Array of temporary filenames (must be freed by the calling application, using pdx_Free if the calling application is not part of libpdx).

# Return

UGN_MALLOC_ERR UGN_NOERR