char* to char[]
<p>I have char* which is of fixed (known) width but is not null terminated.</p>

<p>I want to pass it into <code>LOG4CPLUS_ERROR("Bad string " &lt;&lt; char_pointer);</code> but as its not null terminated it will print it all.</p>

<p>Any suggestions of some light weight way of getting  <code>"(char[length])*char_pointer"</code> without performing a copy?  </p>
