BloombergLP::bdls::FilesystemUtil::getSymbolicLinkTarget

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

Synopsis

Declared in <bdls_filesystemutil.h>

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

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
resultreceives the symbolic-link target
pathfilesystem path of the symbolic link