Append a filename to the end of a path.

Synopsis

Declared in <bdls_pathutil.h>

static
void
appendRaw(
    std::string* path,
    char const* filename,
    int length = ‐1,
    int rootEnd = ‐1);

Description

Same as the overload taking bsl::string *.

Parameters

Name

Description

path

path to which filename is appended

filename

null‐terminated filename to append

length

maximum number of characters of filename to append; if negative, append the entire string

rootEnd

if non‐negative, position in path of the character following the root

Created with MrDocs