I would like to read how various libraries are implemented. I looked under /usr/src/include and all I found was .h files. For example, I was looking at malloc.h and all that it does is declare extern functions.
So I am trying to find the source for those functions. I downloaded GCC source RPM, but looking at the GCC source, it looks more like compiler code, rather than code for libraries such as stdlib.
Can you please help me by pointing me to the right direction.
gccsource code should look like 'compiler code', after all,gccis a compiler.malloc.his legacy compatibility junk that should not be used. The correct header formallocisstdlib.h.