BloombergLP::bdls::FilesystemUtil::getSystemTemporaryDirectory

Load a valid path to the system temporary directory into path.

Synopses

Declared in <bdls_filesystemutil.h>

Load a valid path to the system temporary directory into path.

static
int
getSystemTemporaryDirectory(bsl::string* path);
» more...

Load a valid path to the system temporary directory into path.

static
int
getSystemTemporaryDirectory(std::pmr::string* path);
» more...

Load a valid path to the system temporary directory into path.

static
int
getSystemTemporaryDirectory(std::string* path);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
pathreceives the system temporary directory