BSD 1 development
[unix-history] / man6 / cxref.6
CommitLineData
1e9724ef
BJ
1.th CXREF VI 11/13/77
2.sh NAME
3cxref \- a simple C routine referencing program
4.sh SYNOPSIS
5.bd cxref
6file ...
7.sh DESCRIPTION
8.it Cxref
9is a simple shell script which uses
10.it gres
11(VI)
12and
13.it ex
14(VI)
15and
16.it sort
17(I)
18to make a listing of the routines in the specified C program
19files and the lines on which they are defined.
20It is useful as a summary when prowling in a large program,
21especially since
22.it cref
23has a habit of looping on large program input.
24.sh SEE\ ALSO
25cref (I)
26.sh AUTHOR
27William Joy
28.sh BUGS
29.it Cxref
30assumes that routines begin in the first column of lines,
31and that type names are given on different lines than the routine names.
32If you have a program which is in a different format than this,
33.it cxref
34will fail miserably.
35The operating system,
36C compiler,
37Pascal translator,
38.it ex
39editor,
40etc. all work with
41.it cxref.