C API and reading a string value
Created by: pnorbert
In a C application we need to pre-allocate the memory to read in a string value. We need to have a function to retrieve the size of the that value, so we can allocate the correct amount of memory.