[#AbsPathForConfigVal]
= AbsPathForConfigVal
:mrdocs:

Most paths passed as configuration arguments are treated as relative to the datadir if they are not absolute&period;

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:fs/path.adoc[fs::path]
AbsPathForConfigVal(
    xref:ArgsManager.adoc[ArgsManager] const& args,
    xref:fs/path.adoc[fs::path] const& path,
    bool net&lowbar;specific = true);
----

== Return Value

The normalized path&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| Parsed arguments and settings&period;
| *path*
| The path to be conditionally prefixed with datadir&period;
| *net&lowbar;specific*
| Use network specific datadir variant
|===


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