ctags用法(一)——获取指定文件中的函数信息


使用ctags获取指定文件中的函数信息:

robin@ubuntu:/media/2ndDisk/workspace/binutils-2.23.2$ ctags -x --c-types=f   tree-1.6.0/tree.c
Ftype            function   1110 tree-1.6.0/tree.c char Ftype(mode_t mode)
alnumsort        function    770 tree-1.6.0/tree.c int alnumsort(struct _info **a, struct _info **b)
ctimesort        function    810 tree-1.6.0/tree.c int ctimesort(struct _info **a, struct _info **b)
do_date          function   1024 tree-1.6.0/tree.c char *do_date(time_t t)
fillinfo         function   1124 tree-1.6.0/tree.c char *fillinfo(char *buf, struct _info *ent)
free_dir         function    843 tree-1.6.0/tree.c void free_dir(struct _info **d)
getfulltree      function    685 tree-1.6.0/tree.c struct _info **getfulltree(char *d, u_long lev, dev_t dev, off_t *size, char **err)
gnu_getcwd       function    855 tree-1.6.0/tree.c char *gnu_getcwd()
indent           function    958 tree-1.6.0/tree.c void indent(int maxlevel)
main             function     70 tree-1.6.0/tree.c int main(int argc, char **argv)
mtimesort        function    797 tree-1.6.0/tree.c int mtimesort(struct _info **a, struct _info **b)
patmatch         function    879 tree-1.6.0/tree.c int patmatch(char *buf, char *pat)
printit          function   1045 tree-1.6.0/tree.c void printit(char *s)
prot             function    986 tree-1.6.0/tree.c char *prot(long m)
psize            function   1097 tree-1.6.0/tree.c int psize(char *buf, off_t size)
read_dir         function    577 tree-1.6.0/tree.c struct _info **read_dir(char *dir, int *n)
reversealnumsort function    788 tree-1.6.0/tree.c int reversealnumsort(struct _info **a, struct _info **b)
usage            function    514 tree-1.6.0/tree.c void usage(int n)
versort          function    779 tree-1.6.0/tree.c int versort(struct _info **a, struct _info **b)
xmalloc          function    823 tree-1.6.0/tree.c void *xmalloc (size_t size)
xrealloc         function    833 tree-1.6.0/tree.c void *xrealloc (void *ptr, size_t size)


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值