cxref(1)cxref(1)Namecxref - generate C program cross reference
Syntaxcxref [options] files
Description
The command analyzes a collection of C files and attempts to build a
cross reference table. The command utilizes a special version of to
include #define'd information in its symbol table. It produces a list‐
ing on standard output of all symbols (auto, static, and global) in
each file separately, or with the -c option, in combination. Each sym‐
bol contains an asterisk (∗) before the declaring reference.
Options-c Prints a combined cross-reference of all input files.
-Dname Defines name to processor, as if by #define. Default value
is 1.
-Idir Searches named directory for files whose names do not begin
with a backslash (/).
-o file Directs output to named file.
-s Operates silently; does not print input file names.
-t Formats listing for 80-column width.
-Uname Removes any initial definition of name.
-w<num> Width option which formats output no wider than <num> (deci‐
mal) columns. This option will default to 80 if <num> is not
specified or is less than 51.
Diagnostics
Error messages usually indicate a problem that will prevent the file
from compiling.
Files
/usr/lib/xcpp special version of C-preprocessor.
See Alsocc(1).
cxref(1)