Convert array of chars to a C-style 0 terminated string. Providing a tmp will use that instead of the heap, where appropriate.
Warning, don't read from the memory pointed to in the tmp variable after calling this function.
See Implementation
Convert array of chars to a C-style 0 terminated string. Providing a tmp will use that instead of the heap, where appropriate.
Warning, don't read from the memory pointed to in the tmp variable after calling this function.