Writing a library - returning a char array

sounds like thats the easiest solution to implement