mcDBgetSubsetStr — Read string from sub-set
#include <memcom.h> char* mcDBgetSubsetStr(int handle, const char* name, mcOff idiv);
mcDBgetSubsetStr
retrieves a string from
a sub-set of a dataset on a database. If completed successfully, the
function returns a pointer to a new NULL-terminated character array
containing the requested data. Otherwise, NULL
is
returned and the error code can be retrieved by the function
mcErrStatus
.
It is strongly advised to free data allocated with
mcDBgetSubsetStr
by means of the mcDBfree
. Note that
relational tables must be freed by means of mcTBfree
.