As you can see, I need to use the returned value as an argument for another function.

Thanks again.

07-15-2002

raimo

If you pass it to another function, you cannot know if it gets destroyed or not. Then you would use char *temp=(char *)malloc(200);
But you can just create a temporary buffer outside the function and give that as an argument.