Append a filename to the end of a path.
Declared in <bdls_pathutil.h>
static
void
appendRaw(
std::string* path,
char const* filename,
int length = -1,
int rootEnd = -1);
Same as the overload taking bsl::string *.
| 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 |