CROSSREF Manual
 C
 Sample Listing
 Figure 5-2 shows the first page of the cross-reference listing.
 This is the cross-reference file list. It lists the name of each
 source file scanned. In this example four files were scanned.
 WCC is the C source code and STDIOH, CTYPEH, and STDLIBH are
 C library declaration files. See your 
C Reference Manual
 for
 details on the library declaration files.
PAGE 1
CROSSREF - CROSS-REFERENCE PROGRAM - T9622C00 - (15JUL87)
Copyright Tandem Computers Incorporated 1982, 1983, 1984, 1985, 1986
FILE NO. FILE NAME
 [1] $EM2.UCREF.WCC
 [2] $RTOOL.TOOLSC10.STDIOH WCC[1] 12
 [3] $RTOOL.TOOLSC10.CTYPEH WCC[1] 13
 [4] $RTOOL.TOOLSC10.STDLIBH WCC[1] 14
 Figure 5-2. CROSSREF Listing--File List
 The identifier list makes up the rest of the cross-reference
 listing. See Figure 5-3 on the following page. The identifier
 list describes each identifier in alphabetic order, showing:
 • How it is defined (its attributes)
 • Where it is defined (file name and number and line number)
 • Where and how it is used in the program
 Look at the entry for the identifier named 
count
. The identifier
 reference line indicates that the function is defined in the file
 WCC at line 54 (indicated by a code D). It is declared at line
 23 and called at line 42 (indicated by a code M).
 Look at the entry for the identifier named 
fp
. The identifier
 header indicates that it is an automatic variable that is a
 pointer to a structure. It is defined in the file WCC at line 28
 (indicated by code D). It is referenced at lines 37, 42, and 43
 (indicated by code M).
 5-5










