[#BloombergLP-bdls-FilesystemUtil-getWorkingDirectory-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::getWorkingDirectory
:relfileprefix: ../../../
:mrdocs:

Load into `path` the absolute pathname of the current working directory&period;

== Synopses

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

Load into `path` the absolute pathname of the current working directory&period;


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

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

Load into `path` the absolute pathname of the current working directory&period;


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

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

Load into `path` the absolute pathname of the current working directory&period;


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

[.small]#xref:BloombergLP/bdls/FilesystemUtil/getWorkingDirectory-09.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 current working directory
|===


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