I want to find the C libraries\' source code to find out more about the functions used.Is GCC the only resource I can count on?I couldn\'t use the doxygen html version of th
OTOH, in addition to glibc:
Reading the source code is one thing. Reading a good book that includes source code is another thing entirely. And I'm not sure you can do better than The Standard C Library, by PJ Plauger. It's 20 years old, but for me it's still a page-turner.
Man, I feel old.
You may need to narrow down your question a bit. The implementation varies. Not everything related to implementation details (perhaps pretty much all of it - someone with more standard knowledge can chip in) is prescribed by the C/C++ standard.
In the end you may understand how a particular library decided to do it. It's still useful knowledge, but not THE answer.
The GNU version is here:
Info: http://www.gnu.org/software/libc/
Download: http://ftp.gnu.org/gnu/glibc/