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

Synopsis

Declared in <bdls_filesystemutil.h>

static
int
getWorkingDirectory(std::string* path);

Description

Same as the overload taking bsl::string *.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

path

receives the current working directory

Created with MrDocs