Create a new temporary directory with a name based on prefix.
Synopses
Declared in <bdls_filesystemutil.h>
Create a new temporary directory with a name based on prefix.
static
int
createTemporaryDirectory(
bsl::string* outPath,
std::string_view const& prefix);
Create a new temporary directory with a name based on prefix.
static
int
createTemporaryDirectory(
std::pmr::string* outPath,
std::string_view const& prefix);
Create a new temporary directory with a name based on prefix.
static
int
createTemporaryDirectory(
std::string* outPath,
std::string_view const& prefix);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
outPath |
receives the path of the created directory |
prefix |
prefix of the generated directory name |
Created with MrDocs