BloombergLP::bdls::FilesystemUtil::getSystemTemporaryDirectory

Load a valid path to the system temporary directory to the specified path. Return 0 on success, and a non-zero value otherwise. A temporary directory is one in which the operating system has permission to delete its contents, but not necessarily the directory itself, the next time the computer reboots.

Synopsis

Declared in <bdls_filesystemutil.h>

static
int
getSystemTemporaryDirectory(bsl::string* path);