Load into result the target of the symbolic link at path.
Synopsis
Declared in <bdls_filesystemutil.h>
template<class STRING_TYPE>
static
int
getSymbolicLinkTarget(
bsl::string* result,
STRING_TYPE const& path);
Description
Same as getSymbolicLinkTarget(bsl::string *, const char *), but accepts a STRING_TYPE path.
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