[#BloombergLP-bdls-FilesystemUtil_CStringUtil-flatten-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil_CStringUtil.adoc[FilesystemUtil&lowbar;CStringUtil]::flatten
:relfileprefix: ../../../
:mrdocs:

Return a null&hyphen;terminated C string for the specified `string`&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
char const*
flatten(std::pmr::string const& string);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
