BloombergLP::bdls::FilesystemUtil::getWorkingDirectory

Load into path the absolute pathname of the current working directory.

Synopses

Declared in <bdls_filesystemutil.h>

Load into path the absolute pathname of the current working directory.

static
int
getWorkingDirectory(bsl::string* path);
» more...

Load into path the absolute pathname of the current working directory.

static
int
getWorkingDirectory(std::pmr::string* path);
» more...

Load into path the absolute pathname of the current working directory.

static
int
getWorkingDirectory(std::string* path);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
pathreceives the current working directory