Where to find stdio.h functions implementations?

前端 未结 5 2152
-上瘾入骨i
-上瘾入骨i 2020-11-28 05:36

I study C and I noticed that I can\'t find the implementation file for some header files like, for example, stdio.h which is a library which contains a lot of i

5条回答
  •  没有蜡笔的小新
    2020-11-28 05:53

    Download one of these:

    • glibc
    • uclibc
    • dietlibc
    • BSD libc

    Or, even better, download several of these and compare their implementations. Of course, these are likely doing a lot of things different compared to your particular standard library implementation, but would still be quite interesting for e.g. non-platform-specific functionality such as sprintf.

提交回复
热议问题