tags:

views:

15

answers:

0
ctags -x --c-kinds=f *.c

will give me functions defined in these C files.

But I want instead just the functions called in these C files.

I couldn't find that option in ctags, and cscope appears only interactive.

How can I get a list of the functions called in one or more C files, sent to stdout for further piping/filtering?