[#BloombergLP-bdls-FilesystemUtil_CStringUtil-flatten-0cf] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil_CStringUtil.adoc[FilesystemUtil_CStringUtil]::flatten :relfileprefix: ../../../ :mrdocs: Return the result of invoking `c_str()` on the specified `string`. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* flatten(xref:bsl/string.adoc[bsl::string] const& string); ---- == Description Return a null‐terminated C string for the specified `string`. == Return Value the null‐terminated C string from `string.c_str()` == Parameters [cols="1,4"] |=== | Name| Description | *string* | string whose `c_str()` result is returned |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#