[#BloombergLP-bdls-PathUtil-appendRaw-084]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/PathUtil.adoc[PathUtil]::appendRaw
:relfileprefix: ../../../
:mrdocs:

Append a filename to the end of a path&period;

== Synopses

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

Append a filename to the end of a path&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdls/PathUtil/appendRaw-0d8.adoc[appendRaw](
    xref:bsl/string.adoc[bsl::string]* path,
    char const* filename,
    int length = &hyphen;1,
    int rootEnd = &hyphen;1);
----

[.small]#xref:BloombergLP/bdls/PathUtil/appendRaw-0d8.adoc[_» more&period;&period;&period;_]#

Append a filename to the end of a path&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdls/PathUtil/appendRaw-082.adoc[appendRaw](
    std::pmr::string* path,
    char const* filename,
    int length = &hyphen;1,
    int rootEnd = &hyphen;1);
----

[.small]#xref:BloombergLP/bdls/PathUtil/appendRaw-082.adoc[_» more&period;&period;&period;_]#

Append a filename to the end of a path&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdls/PathUtil/appendRaw-0d4.adoc[appendRaw](
    std::string* path,
    char const* filename,
    int length = &hyphen;1,
    int rootEnd = &hyphen;1);
----

[.small]#xref:BloombergLP/bdls/PathUtil/appendRaw-0d4.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *path*
| path to which `filename` is appended
| *filename*
| null&hyphen;terminated filename to append
| *length*
| maximum number of characters of `filename` to append&semi; if negative, append the entire string
| *rootEnd*
| if non&hyphen;negative, position in `path` of the character following the root
|===


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