Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 suitable because of the many hits.

Does anyone know a webpage doxygen style that has the documentation.

The same goes for the linux kernel.

Thanks

like image 669
monkeyking Avatar asked Dec 30 '09 05:12

monkeyking


1 Answers

You should check if your distribution is using the vanilla GLIBC or the EGLIBC fork (Debian and Ubuntu have switched to EGLIBC EDIT: they switched back around 2014).

Anyway, the repository browser for GLIBC is at http://sourceware.org/git/?p=glibc.git

http://code.woboq.org/userspace/glibc/, posted by @guruz below, is a good alternative.

The source is a bit complicated by the presence of multiple versions of the same files.

like image 144
Jacopo Avatar answered Sep 27 '22 22:09

Jacopo