Hello!

One (little?) question.  Does anyone on list knows if it's possible to
call some routine within .so library from perl, without writing special
C-language perl module?  I want to call a routine that have only standard
C types as an arguments, and that returns integer, i.e. no custom
structures are involved here.  Like file open/read/close:
  int open(const char *fname, int flags, int mode);
  int read(int fd, const void *buf, int len);
  int close(int fd);
Is this possible from within perl?  I know that C-language perl "wrapper" can
be used here, but maybe there is simpler way?

Thank you.

Regards,
 Michael.



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to