Cscope database is used by cscope for finding reference . It contains information of our souce code and related
Create cscope database
cscope -b -q -k
->Result: Database is created with name is cscope.out
Export environment
export CSCOPE_DB=/your dir/cscope.out
Connect the cscope database
:cs add $CSCOPE_DB
And using this command to know parameter with cscope
:cs --help
E.g: Find the definition of the function "getWord"
:cs find g getWord
Result: