Added returning a character array, to a caller-provided buffer.