[#BloombergLP-bsls-NameOf_Base-initBuffer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/NameOf_Base.adoc[NameOf_Base]::initBuffer :relfileprefix: ../../../ :mrdocs: Initialize the specified `buffer` with the type name contained in the specified `functionName`, where `functionName` is the function name of the `NameOf` constructor. Return either a pointer to `buffer`, or if `buffer` couldn't be properly initialized, `functionName`. == Synopsis Declared in `<bsls_nameof.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* initBuffer( char* buffer, char const* functionName); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#