[#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`. Return a null‐terminated C string for 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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#