Blame gtkmm-osx/jpeg-6b/ansi2knr.1

darco 56a656
.TH ANSI2KNR 1 "19 Jan 1996"
darco 56a656
.SH NAME
darco 56a656
ansi2knr \- convert ANSI C to Kernighan & Ritchie C
darco 56a656
.SH SYNOPSIS
darco 56a656
.I ansi2knr
darco 56a656
[--varargs] input_file [output_file]
darco 56a656
.SH DESCRIPTION
darco 56a656
If no output_file is supplied, output goes to stdout.
darco 56a656
.br
darco 56a656
There are no error messages.
darco 56a656
.sp
darco 56a656
.I ansi2knr
darco 56a656
recognizes function definitions by seeing a non-keyword identifier at the left
darco 56a656
margin, followed by a left parenthesis, with a right parenthesis as the last
darco 56a656
character on the line, and with a left brace as the first token on the
darco 56a656
following line (ignoring possible intervening comments).  It will recognize a
darco 56a656
multi-line header provided that no intervening line ends with a left or right
darco 56a656
brace or a semicolon.  These algorithms ignore whitespace and comments, except
darco 56a656
that the function name must be the first thing on the line.
darco 56a656
.sp
darco 56a656
The following constructs will confuse it:
darco 56a656
.br
darco 56a656
     - Any other construct that starts at the left margin and follows the
darco 56a656
above syntax (such as a macro or function call).
darco 56a656
.br
darco 56a656
     - Some macros that tinker with the syntax of the function header.
darco 56a656
.sp
darco 56a656
The --varargs switch is obsolete, and is recognized only for
darco 56a656
backwards compatibility.  The present version of
darco 56a656
.I ansi2knr
darco 56a656
will always attempt to convert a ... argument to va_alist and va_dcl.
darco 56a656
.SH AUTHOR
darco 56a656
L. Peter Deutsch <ghost@aladdin.com> wrote the original ansi2knr and</ghost@aladdin.com>
darco 56a656
continues to maintain the current version; most of the code in the current
darco 56a656
version is his work.  ansi2knr also includes contributions by Francois
darco 56a656
Pinard <pinard@iro.umontreal.ca> and Jim Avera <jima@netcom.com>.</jima@netcom.com></pinard@iro.umontreal.ca>