How to use cscope?

前端 未结 4 734
遇见更好的自我
遇见更好的自我 2021-02-08 12:31

I am using cscope to get familiar with all the keywords used in socket programming. I went to the directory with c files. I used cscope. and then I searched for AF_INET. I got t

4条回答
  •  佛祖请我去吃肉
    2021-02-08 13:08

    I mostly use the following. These are very basic to understand the cscope.

    1. "cscope -R" Then you get options.
    2. Press down arrow. Then you will move to your required option. Type whatever you want at the respective option.
    3. From the search result. Use arrows(Up and down) then Press "enter key" to see the detailed file.
    4. ":q" to exit from the file.
    5. Press "Tab key" to come to the cscope options.
    6. "ctrl + d" to exit from the cscope.

提交回复
热议问题