home *** CD-ROM | disk | FTP | other *** search
- CCREF.DOC
-
- CROSS-REFERENCE C PROGRAM SOURCE FILES
-
- CCREF will generate a cross-reference listing for a program
- written in the C language. (Actually, CCREF may be used to
- cross-reference any text file, but C keywords and operators will
- be ignored.)
-
- At the > prompt, type
-
- CCREF filname1.typ filname2.typ ...
-
- to produce a global cross-reference of the C source files named
- filname1.typ, filname2.typ, etc., and display results on the
- terminal. One or more source files may be included on the com-
- mand line. It is normally desirable to record results for later
- use; therefore, use the command
-
- CCREF filname1.typ filname2.typ ... >output.fil
-
- to cross-reference and save results in the file named output.fil.
- The symbol > followed immediately (with no spaces) by the output
- filename must appear as the last item on the command line.
-
- With either command form, it takes considerable time for the
- program to complete. If the second form is used, there will
- normally be no output sent to the terminal; therefore, CCREF may
- be detached using the MP/M signal <CTRL-D>, freeing the terminal
- for additional activity.
-
- Sample output from CCREF is listed below. This sample was pro-
- duced by typing the command
-
- CCREF MODEM.C MODEMF1.C MODEMF2.C >MODEM.REF
-
- The first three lines list references to #include statements,
- although this fact is not identified in the output. Remaining
- lines indicate first the variable name, then line numbers where
- that variable appears, grouped by source file name. Sample
- output follows:
-
-
-
- MODEM.C 43 46
-
- MODEMF1.C 31 33
-
- MODEMF2.C 37 39
-
- abort
-
-
- MODEM.C 62 72
-
- MODEMF1.C 394
-
- ACK
-
-
- MODEMF1.C 53
-
- MODEMF2.C 530 533 675 711
-
- allrights
-
-
- MODEM.C 39
-
-
- This is the end of CCREF.DOC.