Load into result the target of the symbolic link at path.

Synopsis

Declared in <bdls_filesystemutil.h>

static
int
getSymbolicLinkTarget(
    std::string* result,
    char const* path);

Description

Same as the overload taking bsl::string *.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

result

receives the symbolic‐link target

path

filesystem path of the symbolic link

Created with MrDocs