[#BloombergLP-bdls-PathUtil-appendRaw-0d8] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/PathUtil.adoc[PathUtil]::appendRaw :relfileprefix: ../../../ :mrdocs: Append the specified `filename` up to the optionally specified `length` to the end of the specified `path`. If `length` is negative, append the entire string. If the optionally specified `rootEnd` offset is non‐negative, it is taken as the position in `path` of the character following the root. The behavior is undefined if `filename` represents an absolute path or if either `filename` or `path` ends with the filesystem separator character. The behavior is also undefined if `filename` points to any part of `path` (i.e., `filename` may not be an alias for `path`). See []and Performance). == Synopsis Declared in `<bdls_pathutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void appendRaw( xref:bsl/string.adoc[bsl::string]* path, char const* filename, int length = ‐1, int rootEnd = ‐1); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#