Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

How can I call my system's unique C functions from Perl?

by faq_monk (Initiate)
on Oct 08, 1999 at 00:29 UTC ( #725=perlfaq nodetype: print w/replies, xml ) Need Help??

Current Perl documentation can be found at

Here is our local, out-dated (pre-5.6) version:

In most cases, you write an external module to do it - see the answer to ``Where can I learn about linking C with Perl? [h2xs, xsubpp]''. However, if the function is a system call, and your system supports syscall(), you can use the syscall function (documented in the perlfunc manpage).

Remember to check the modules that came with your distribution, and CPAN as well - someone may already have written a module to do it.

Log In?

What's my password?
Create A New User
[markong]: is there any mean to get notified if there are new replies in a thread?
[LanX]: Rat or newest nodes
[LanX]: I think there are RSS feeds you could use, but never used them

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-03-19 09:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (238 votes). Check out past polls.