Create a new temporary directory under rootDirectory.
Declared in <bdls_filesystemutil.h>
static
int
createTemporarySubdirectory(
std::string* outPath,
std::string_view const& rootDirectory,
std::string_view const& prefix);
Same as the overload taking bsl::string *.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| outPath | receives the path of the created directory |
| rootDirectory | directory in which to create the subdirectory |
| prefix | prefix of the generated directory name |