in reply to
C to Perl
Your C code seems to be wrong:
memcpy(&cmd,&index,sizeof(int)); memcpy((cmd+4),&cc,index);
[download]
Is
cmd
a pointer or not? Also, I suggest giving us some types here.
Comment on
Re: C to Perl
Download
Code
In Section
Seekers of Perl Wisdom