I am reading C Primer Plus. On page 31, the author says:
The
stdio.h
file is supplied as part of all C compiler packages.
But the author didn't specify from where the actual library code comes from.
I am on a Linux system and I have confusion between gcc
or glibc
.
So which one provides the actual code?
The implementation depends on your system. For Linux, it is glibc .
You can see other implementations here: https://en.wikipedia.org/wiki/C_standard_library
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.