It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
6年前关闭。
我只是想知道..linux中有一个名为whereis的命令,用来定位函数
而man command显示的是手动的,即使对于c函数。。。
但是常量定义呢..我应该使用find或grep吗..或者有更简单的方法吗?

最佳答案

尝试标识符搜索。它节省了我很多时间:http://www.cs.fsu.edu/~baker/devices/lxr/http/ident
编辑:虽然这实际上只有助于通过内核源代码进行重映射:-\

关于c - 我如何在linux中搜索常量定义(在c include文件中),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/4740628/

10-16 06:16