[#BloombergLP-bdls-FilesystemUtil-getSymbolicLinkTarget-0fc]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::getSymbolicLinkTarget
:relfileprefix: ../../../
:mrdocs:

Load into `result` the target of the symbolic link at `path`&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STRING&lowbar;TYPE&gt;
static
int
getSymbolicLinkTarget(
    xref:bsl/string.adoc[bsl::string]* result,
    STRING&lowbar;TYPE const& path);
----

== Description

Same as `getSymbolicLinkTarget(bsl&colon;&colon;string &ast;, const char &ast;)`, but accepts a `STRING&lowbar;TYPE` path&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| receives the symbolic&hyphen;link target
| *path*
| filesystem path of the symbolic link
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
