home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
c
/
getf.arc
/
BLDFUNCS.DOC
< prev
next >
Wrap
Text File
|
1988-11-19
|
2KB
|
59 lines
NAME: bldfuncs - construct a table of C source file names together with
a list of the names of all functions defined in these source files.
USAGE: bldfuncs sour_file_1 source_file_2 ...
(wildcard characters are allowed)
DESCRIPTION:
bldfuncs is used to construct the list file needed by getf.
The out file is names "funcs.txt", and has the format:
source_file_1.c:
function_1 lineno_1
function_2 lineno_2
...
function_n lineno_n;
source_file_2.c:
...
Of course, this file could be constructed or modified using a
text editor, but bldfuncs is designed to automate this process.
Bldfuncs is run a relatively infrequent intervals to update the
list file, whereas getf is run frequently to locate functions.
OPTIONS:
-a the new data is appended to the output file, rather
than replacing it.
EXAMPLES:
bldfuncs prog1.c prog2.c prog3.c
This will construct a funcs.txt file in
the current directory which will
contain a list of the specified files
in the current directory together with
a list of the functions defined in
those files.
bldfuncs *.c
This will construct a funcs.txt file
for the all the C source files in the
current directory.
bldfuncs *.c \source1\*.c d:\*.c
This will construct a funcs.txt file in
the current directory which will
contain the above information for the
current directory, \source1, and d:\
combined.
AUTHOR:
Marvin Hymowech, "Find That Function", Dr. Dobb's Journal of
Software Tools, #142 (August 1988).
transcribed and modestly enhanced by James R. Van Zandt,
jrv@mitre-bedford.arpa.