etags is a simple way to find the definition of a function. This is very useful if you’re reading code from a large application.
You can run the following command at the root of the sources:
find . | grep -P "(c|cpp|h|hpp)$" | etags -
(Sorry, I don’t know how to do it directly with
Then, when using emacs, just place the cursor above the function name and type
This will take you to the function definition.