|go ahead... be a heretic|
converting perl file handle into C FILE *by kamesh3183 (Beadle)
|on Aug 31, 2005 at 18:09 UTC||Need Help??|
kamesh3183 has asked for the
wisdom of the Perl Monks concerning the following question:
I am writing a wrapper for a C function:
int fun1(FILE *, char *);
Can somebody tell me how to convert the Perl filehandle into a C FILE * ?
presently I am using code like this:
but the IoIFP is returning struct _PerlIO * type. Can anybody tell me how can I convert into FILE *?