utility is a macro preprocessor used by the
It is used to include header files,
expand macro definitions,
and perform conditional compilation.
input file is optional.
If not provided or the file name is
reads its initial file from standard input.
output file is also optional.
It writes by default to standard output.
The options are as follows:
Show command line usage for
Do not discard comments.
Fake a definition at the beginning by using
is not set on command-line, then define it as 1.
Print list of
statements to standard output for all defined macros other than
builtin macros (see below).
The normal results of preprocessing are not output.
to the list of directories containing needed header files.
This may be used to override system include directories
may be specified multiple times.
Include a file at the beginning by using
Inhibit generation of line markers. This is sometimes useful when
running the preprocessor on something other than C code.
to the list of system directories containing needed header files.
option may be specified multiple times.
does not have a default include directory defined.
Traditional cpp syntax.
Do not define the
Undefine a macro at the beginning by using
Verbose debugging output.
can be repeated for further details.
A few macros are interpreted inside the
Expands to the date in abbreviated month, day, and year format from
Expands to the name of the current input file in quotes.
When read from standard input, it expands to
Expands to the line number of the current line containing the macro.
Expands to the constant 1.
This means the compiler conforms to
(also known as
which indicates that
(commonly referred to as
Expands to the time in hour, minutes, and seconds from
Also see the
utility exits with one of the following values:
command comes from the original Portable C Compiler by S. C. Johnson,
written in the late 70's.
The code originates from the V6 preprocessor with some additions
from V7 cpp and ansi/c99 support.
A lot of the PCC code was rewritten by Anders Magnusson.
This product includes software developed or owned by Caldera