# ubuntu后续版本用ctags-exuberant替代ctags
ctags-exuberant --list-kinds=c
# 终端输出
c classes
d macro definitions
e enumerators (values inside an enumeration)
f function definitions
g enumeration names
l local variables [off]
m class, struct, and union members
n namespaces
p function prototypes [off]
s structure names
t typedefs
u union names
v variable definitions
x external and forward variable declarations [off]
# 列出所有符号
ctags-exuberant -x CFILE
# 列出所有函数
ctags-exuberant -x --c-types=f CFILE
# 列出所有宏
ctags-exuberant -x --c-types=d CFILE