home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / new / dev / c / hce / examples / clib / cflow / cflow.doc < prev    next >
Text File  |  1992-09-02  |  2KB  |  68 lines

  1.  
  2.  CFLOW.C - A C Function Call Chart Generator
  3.  
  4.   Version 1.00         December 21st, 1986
  5.  
  6.   SYNOPSIS:
  7.  
  8.   CFLOW accepts C source code via the standard input and
  9.   produces a listing of the hierarchy of C function calls
  10.   on the standard output. Recursive functions are explicitly
  11.   identified in the listing. The command line format is:
  12.  
  13.        CFLOW <source_file
  14.  
  15.   The output listing identifies all functions in the source
  16.   code and the functions they call (#include files are not
  17.   recognized). If only specific functions are of interest,
  18.   (e.g. - fcn1, fcn2, fcn3), a listing for these functions
  19.   only and the functions they call can be specified with the
  20.   command line:
  21.  
  22.        CFLOW <source_file fcn1 fcn2 fcn3
  23.  
  24.   MODIFICATIONS:
  25.  
  26.     V1.00        - beta test release
  27.  
  28.   Adapted from:  "CALLS.C"
  29.                  The C Programming Tutor
  30.                  L.A. Wortman & T.O. Sidebottom
  31.                  Prentice Hall Publishing
  32.  
  33.   Adaptation by: Ian Ashdown
  34.                  byHeart Software
  35.                  620 Ballantree Road
  36.                  West Vancouver, B.C.
  37.                  Canada V7S 1W3
  38.  
  39.   USAGE: CFLOW [function_name ...]
  40.  
  41.   DIAGNOSTICS:
  42.  
  43.   Exit status is 0 if no problems encountered, 2 otherwise.
  44.  
  45.   BUGS:
  46.  
  47.   Identifiers are limited to 32 characters in length.
  48.   Recursive calling depth is set at 25.
  49.  
  50.  **********************************************************************
  51.  *                          LAST CHANGES                              *
  52.  **********************************************************************
  53.  
  54.  14 June, 1994 - Jason Petty
  55.  Now checks if called from CLI or if invalid file, shows usage then exits
  56.  with an error status. Does not use 'stdin' for input but instead
  57.  requires user to specify a filename on the command line.
  58.  
  59.  To clear things up a bit here's the Usage:
  60.  
  61.              CFLOW <source_filename> <function name 1> <funcn2> <funcn3>
  62.  
  63.  If called:  CFLOW <source_filename>
  64.  without function name then the default is to list 'main()'. 
  65.  
  66.  
  67.  
  68.