[#BloombergLP-bdls-FilesystemUtil-makeUnsafeTemporaryFilename-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::makeUnsafeTemporaryFilename
:relfileprefix: ../../../
:mrdocs:

Construct a temporary file name by appending a suffix to `prefix`&period;

== Synopses

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

Construct a temporary file name by appending a suffix to `prefix`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdls/FilesystemUtil/makeUnsafeTemporaryFilename-00.adoc[makeUnsafeTemporaryFilename](
    xref:bsl/string.adoc[bsl::string]* outPath,
    std::string&lowbar;view const& prefix);
----

[.small]#xref:BloombergLP/bdls/FilesystemUtil/makeUnsafeTemporaryFilename-00.adoc[_» more&period;&period;&period;_]#

Construct a temporary file name by appending a suffix to `prefix`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdls/FilesystemUtil/makeUnsafeTemporaryFilename-0c.adoc[makeUnsafeTemporaryFilename](
    std::pmr::string* outPath,
    std::string&lowbar;view const& prefix);
----

[.small]#xref:BloombergLP/bdls/FilesystemUtil/makeUnsafeTemporaryFilename-0c.adoc[_» more&period;&period;&period;_]#

Construct a temporary file name by appending a suffix to `prefix`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdls/FilesystemUtil/makeUnsafeTemporaryFilename-0e.adoc[makeUnsafeTemporaryFilename](
    std::string* outPath,
    std::string&lowbar;view const& prefix);
----

[.small]#xref:BloombergLP/bdls/FilesystemUtil/makeUnsafeTemporaryFilename-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *outPath*
| receives the constructed file name
| *prefix*
| prefix of the generated file name
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
