我正在使用 cscope 来熟悉套接字编程中使用的所有关键字。我去了带有c文件的目录。我用的是cscope。然后我搜索了 AF_INET。我懂了 :
#define AF_FILE PF_FILE
#define AF_INET PF_INET
#define AF_AX25 PF_AX25
这是一整页。我只发表了一部分。现在我想知道这个 PF_INET 是从哪里来的?我应该使用什么命令。我见过一个人双击 PF_INEt 并使用一些命令来找到它。不知道命令是什么?请帮助我。
第二件事是当我使用 :q 命令退出页面时。我来到这个页面:
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:
这里光标在 0 处闪烁。如果我想再搜索一些东西,我会怎么做?如何从这里导航。我试图用谷歌搜索它,但无法理解教程中的任何内容。请在这方面帮助我,因为我对 linux 操作系统和 c 编程完全是菜鸟。提前致谢。