42 lines
942 B
Groff
42 lines
942 B
Groff
|
.TH H2PH 1 "August 8, 1990"
|
||
|
.AT 3
|
||
|
.SH NAME
|
||
|
h2ph \- convert .h C header files to .ph Perl header files
|
||
|
.SH SYNOPSIS
|
||
|
.B h2ph [headerfiles]
|
||
|
.SH DESCRIPTION
|
||
|
.I h2ph
|
||
|
converts any C header files specified to the corresponding Perl header file
|
||
|
format.
|
||
|
It is most easily run while in /usr/include:
|
||
|
.nf
|
||
|
|
||
|
cd /usr/include; h2ph * sys/*
|
||
|
|
||
|
.fi
|
||
|
If run with no arguments, filters standard input to standard output.
|
||
|
.SH ENVIRONMENT
|
||
|
No environment variables are used.
|
||
|
.SH FILES
|
||
|
/usr/include/*.h
|
||
|
.br
|
||
|
/usr/include/sys/*.h
|
||
|
.br
|
||
|
etc.
|
||
|
.SH AUTHOR
|
||
|
Larry Wall
|
||
|
.SH "SEE ALSO"
|
||
|
perl(1)
|
||
|
.SH DIAGNOSTICS
|
||
|
The usual warnings if it can't read or write the files involved.
|
||
|
.SH BUGS
|
||
|
Doesn't construct the %sizeof array for you.
|
||
|
.PP
|
||
|
It doesn't handle all C constructs, but it does attempt to isolate
|
||
|
definitions inside evals so that you can get at the definitions
|
||
|
that it can translate.
|
||
|
.PP
|
||
|
It's only intended as a rough tool.
|
||
|
You may need to dicker with the files produced.
|
||
|
.ex
|