C library source code

后端 未结 4 1180
予麋鹿
予麋鹿 2020-12-08 05:59

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

相关标签:
4条回答
  • 2020-12-08 06:24

    OTOH, in addition to glibc:

    • uclibc
    • dietlibc
    • BSD libc
    0 讨论(0)
  • 2020-12-08 06:33

    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.

    0 讨论(0)
  • 2020-12-08 06:36

    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.

    0 讨论(0)
  • 2020-12-08 06:47

    The GNU version is here:

    Info: http://www.gnu.org/software/libc/

    Download: http://ftp.gnu.org/gnu/glibc/

    0 讨论(0)
提交回复
热议问题