Convert a C-style 0 terminated string to an array of wchar
Convert a C-style 0 terminated string to an array of dchar
Convert a C-style 0 terminated string to an array of char
portable strlen
Convert array of wchars s[] to a C-style 0 terminated string.
Convert array of dchars s[] to a C-style 0 terminated string.
Convert array of chars to a C-style 0 terminated string. Providing a tmp will use that instead of the heap, where appropriate.
Convert a series of char[] to C-style 0 terminated strings, using tmp as a workspace and dst as a place to put the resulting char*'s. This is handy for efficiently converting multiple strings at once.