This is somewhat off topic and my C skills aren't exceptionally sharp, but aren't you asking for trouble by returning a pointer allocated within your function?
In reply to Re: Need a Help - calling C program from Perl
by chromatic
in thread Need a Help - calling C program from Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |