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);

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

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

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

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

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

path

receives the current working directory

Created with MrDocs