| 1 | .TH H2PH 1 "August 8, 1990" |
| 2 | .AT 3 |
| 3 | .SH NAME |
| 4 | h2ph \- convert .h C header files to .ph Perl header files |
| 5 | .SH SYNOPSIS |
| 6 | .B h2ph [headerfiles] |
| 7 | .SH DESCRIPTION |
| 8 | .I h2ph |
| 9 | converts any C header files specified to the corresponding Perl header file |
| 10 | format. |
| 11 | It is most easily run while in /usr/include: |
| 12 | .nf |
| 13 | |
| 14 | cd /usr/include; h2ph * sys/* |
| 15 | |
| 16 | .fi |
| 17 | If run with no arguments, filters standard input to standard output. |
| 18 | .SH ENVIRONMENT |
| 19 | No environment variables are used. |
| 20 | .SH FILES |
| 21 | /usr/include/*.h |
| 22 | .br |
| 23 | /usr/include/sys/*.h |
| 24 | .br |
| 25 | etc. |
| 26 | .SH AUTHOR |
| 27 | Larry Wall |
| 28 | .SH "SEE ALSO" |
| 29 | perl(1) |
| 30 | .SH DIAGNOSTICS |
| 31 | The usual warnings if it can't read or write the files involved. |
| 32 | .SH BUGS |
| 33 | Doesn't construct the %sizeof array for you. |
| 34 | .PP |
| 35 | It doesn't handle all C constructs, but it does attempt to isolate |
| 36 | definitions inside evals so that you can get at the definitions |
| 37 | that it can translate. |
| 38 | .PP |
| 39 | It's only intended as a rough tool. |
| 40 | You may need to dicker with the files produced. |
| 41 | .ex |