[#BloombergLP-bdls-FilesystemUtil-getSystemTemporaryDirectory-077]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::getSystemTemporaryDirectory
:relfileprefix: ../../../
:mrdocs:

Load a valid path to the system temporary directory into `path`&period;

== Synopses

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

Load a valid path to the system temporary directory into `path`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdls/FilesystemUtil/getSystemTemporaryDirectory-07f.adoc[getSystemTemporaryDirectory](xref:bsl/string.adoc[bsl::string]* path);
----

[.small]#xref:BloombergLP/bdls/FilesystemUtil/getSystemTemporaryDirectory-07f.adoc[_» more&period;&period;&period;_]#

Load a valid path to the system temporary directory into `path`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdls/FilesystemUtil/getSystemTemporaryDirectory-09.adoc[getSystemTemporaryDirectory](std::pmr::string* path);
----

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

Load a valid path to the system temporary directory into `path`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdls/FilesystemUtil/getSystemTemporaryDirectory-0a.adoc[getSystemTemporaryDirectory](std::string* path);
----

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

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *path*
| receives the system temporary directory
|===


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