command analyzes a collection of C files
and builds a cross-reference table.
uses a special version of
information in its symbol table.
It generates a list of all symbols (auto, static,
and global) in each individual file, or, with the
option, in combination.
The table includes four fields: NAME, FILE,
The line numbers appearing in the LINE field
also show reference marks as appropriate.
The reference marks include:
If no reference marks appear, you can assume the reference
to be a general reference.
processes supplementary code set characters
according to the locale specified in the LC_CTYPE
(see LANG on
The -D, -I, and -U
options are interpreted as by
interprets the following options:
Combine the source files into a single report.
Without the -c option,
generates a separate report
for each file on the command line.
Disable printing declarations, making the report easier to read.
Do not print local variables; print only global and file scope statistics.
Direct output to outfile.
Operate silently; does not print input file names.
Format listing for 80-column width.
Width option that formats output no wider than num (decimal) columns.
This option will default to 80 if num is not specified or is
less than 51.
Run only the first pass of
creating a .cx
file that can later be passed to
This is similar to the -c option of
Print the full path of the referenced file names.
Modify the number of table columns in the LINE field.
If you do not specify a number,
defaults to five columns.
Print version information on the standard error.
-Wname, file, function, line
Change the default width of at least one field.
The default widths are:
20 (4 per table column)
Upon successful completion,
the exit status of cflow is 0,
otherwise the exit status is non-zero.
Error messages are unusually cryptic,
but usually mean you cannot compile the files.
Suppose the C source file, a.c, contains the following lines: