[EMAIL PROTECTED] wrote:
> Just for a heads up , I have tried using ctags
> but then it is more like the vi search engine and nothing more than
> that
> 
> On Jan 23, 5:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>> hi all,
>>
>> Is there a quick way to get all the function names that are defined in
>> a c file
>>
>> -Parag
> 

Try:

   gcc -c -aux-info funcs.txt myfile.c

to put the function list into funcs.txt.

This puts ALL functions into funcs.txt, even
those found in system headers.  You can use
grep to list just those from myfile.c:

  grep 'myfile\.c' funcs.txt

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to