If these are system calls and you have the syscall() function, then you're probably in luck -- see the next question. If you're using a POSIX function, and are running perl5, you're also in luck: see POSIX(3pm) . For arbitrary library functions, however, it's not quite so straight-forward. See ``Where can I learn about linking C with Perl?''.
Other resources at this site: