I use cscope to get familiar with all the keywords used in socket programming. I went to a directory with c files. I used cscope. and then I searched for AF_INET. I got it:
#define AF_FILE PF_FILE #define AF_INET PF_INET #define AF_AX25 PF_AX25
It was a full page. I just published part of it. Now I want to know where this PF_INET is from? which command should i use. I saw a guy double-click PF_INEt and use some command to find it. I do not know what this team is? Please help me with this.
Secondly, when I finish the page with the command: q. I come to this page:
Global definition: AF_INET File Line 0 socket.h 119 #define AF_INET PF_INET Find this C symbol: Find this global definition: Find functions called by this function: Find functions calling this function: Find this text string: Change this text string: Find this egrep pattern: Find this file: Find files #including this file:
here the cursor blinks to 0. If I want to look for something again, how will I do it? How to get from here. I tried to do this, but could not understand anything from the prisons. Please help me in this regard since I am a complete noob for Linux operating system and programming c. Thanks in advance.
c linux vim cscope
narayanpatra
source share