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