Analyzing the code
If you are working on source code that you didn't write,
the purpose of various constructs may not be clear.
The Development System provides a number of tools
to help make sense out of the source code.
In this section, we will use the following tools to
analyze the testcase.c source code:
cb-
a tool to format C source code
cscope-
a tool to examine functions contained with a program
lint-
a tool to identify code that may not pass through the compiler
without an error message or that may be coded using questionable
coding practices
cflow-
a tool to identify the nesting levels of functions within a program
cxref-
a tool to create a cross reference of functions and symbols used
within a program
Next topic:
Using cb
Previous topic:
Archiving the code
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003