Think about Loose Coupling | |
PerlMonks |
converting perl file handle into C FILE *by kamesh3183 (Beadle) |
on Aug 31, 2005 at 18:09 UTC ( [id://488179]=perlquestion: print w/replies, xml ) | Need Help?? |
kamesh3183 has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks, 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 *? Thanks Kamesh
Back to
Seekers of Perl Wisdom
|
|