Where can I browse the sourcecode for libc online (like doxygen)

前端 未结 6 1132
遥遥无期
遥遥无期 2020-12-24 06:47

Sometimes I want to look up the implementations of functions in the stdlib, I\'ve downloaded the sourcecode, but it\'s quite messy.

Just greping is not really suitab

6条回答
  •  醉酒成梦
    2020-12-24 07:14

    How about this for libc documentation? And perhaps this for the kernel? There is also Google Code search; here is an example search.

    More on Google Code Search You can enter search queries like this: package:linux-2.6 malloc for any references to malloc in the linux-2.6 kernel.

    Edit: Google Code search is now shut down. But you can access the git repo at http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git and it has search as well.

提交回复
热议问题