Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!bionet!agate!darkstar!terra!daniel From: daniel@terra.ucsc.edu (Daniel Edelson) Newsgroups: comp.unix.shell Subject: Re: Extract function names Message-ID: <6821@darkstar.ucsc.edu> Date: 13 Sep 90 05:15:31 GMT References: <4cc48e05.12c9a@digital.sps.mot.com> Sender: usenet@darkstar.ucsc.edu Reply-To: daniel@cis.ucsc.edu (Daniel Edelson) Organization: University of California, Santa Cruz Lines: 14 In article <4cc48e05.12c9a@digital.sps.mot.com> chen@digital.sps.mot.com (Jinfu Chen) writes: >I'm looking for a tool to extract names of function call in C files. A >typical use of it is to build a cross-reference list for function calls. For >example, given source files of RN, I would like to find out which file the >ngdata_init() call is defined (and optionally) used. >-- >Jinfu Chen (602)898-5338 / chen@digital.sps.mot.com The easiest way might be to first compile the files and then use nm(1) to obtain the symbols defined in each module. Daniel Edelson ``Do you think we daniel@cis.ucsc.edu, or should test it before ...!sun!practic!peren!daniel we ship it?''