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?