Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: cutChapter 2
UNIX Commands
Next: Reference: date


cxref [options] files

Build a cross-reference table for each of the C source files. The table lists all symbols, providing columns for the name and the associated function, file, and line. In the table, symbols are marked by = if assigned, - if declared, or * if defined. cxref also accepts the cc options -D, -I, and -U.



Report on all files in a single table.


Don't execute the second pass of cxref; save output from first pass in .cx files. (Like -c in lint and cc.)


Simplify report by omitting print declarations.


Print files using full pathname, not just the filename.


Don't print local variables.


Limit the "LINE" field to n columns (default is 5).

-o file

Send output to file.


Silent mode; don't print input filenames.


Format for 80-column listing.


Print version information on standard error.


Format for maximum width of n columns (default is 80; n must be more than 50).


Set the width of each (or any) column to n1, n2, n3, or n4 (respective defaults are 15, 13, 15, and 20). Column headings are NAME, FILE, FUNCTION, and LINE, respectively.

Previous: Reference: cutUNIX in a Nutshell: System V EditionNext: Reference: date
Reference: cutBook IndexReference: date

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System