_getTempFile#

Fully qualified name: usd_optimize::_getTempFile

std::string usd_optimize::_getTempFile(const std::string &prefix)#

Creates a new, empty temporary file with ArchMakeTmpFile and returns its path, or an empty string on failure. Uses /tmp rather than ArchGetTmpDir()’s /var/tmp, which is not automatically cleaned up.

Parameters:

prefix – Filename prefix (name before the unique suffix)