[#BloombergLP-bdls-FilesystemUtil-getSystemTemporaryDirectory-07f]
= 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;

== Synopsis

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

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

== Description

Return 0 on success, and a non&hyphen;zero value otherwise&period; 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&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]#
