Is there a way to see what's inside the stdio.h or how it's implemented? I learned that the standard functions are declared in the stdio.h file and I can't find it in my computer plus I heard that there is another file where the body of the functions are all written, which is called the stdio.c file. Can anyone tell me WHERE this file is in my computer (I am using gcc compilier) or anyway to see how it is implemented?
CodePudding user response:
As far as I know the c header files are stored in C:\Program Files (x86)\Windows Kits\10\Include\"some_version"\ucrt
for Windows, and in /usr/include
for linux. There you can find the stdio.h
file and any other of the standard c header files.
Otherwise looking on the internet for stdio.h
source code is also an option