![]() |
|
Welcome to the Monastery | |
PerlMonks |
Where do I get the include files to do ioctl() or syscall()?by faq_monk (Initiate) |
on Oct 08, 1999 at 00:29 UTC ( [id://726]=perlfaq nodetype: print w/replies, xml ) | Need Help?? |
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version:
Historically, these would be generated by the h2ph tool, part of the standard perl distribution. This program converts
1. become super-user 2. cd /usr/include 3. h2ph *.h */*.h If your system supports dynamic loading, for reasons of portability and sanity you probably ought to use h2xs (also part of the standard perl distribution). This tool converts C header files to Perl extensions. See the perlxstut manpage for how to get started with h2xs. If your system doesn't support dynamic loading, you still probably ought to use h2xs. See the perlxstut manpage and MakeMaker for more information (in brief, just use make perl instead of a plain make to rebuild perl with a new static extension).
|
|