How to move data from char** to char* ?
Posted on 2004-04-28
I have a function "func_a" that returns me a pointer to some data as follows:
extern void func_a(char **data);
char *mydata ;
extern void func_b(char *data);
How do I pass in the data "mydata" that is returned by "func_a" into "func_b" correctly?
Can I use sizeof(mydata) to get the size of data being returned?