Where is the code that corresponds to the c standard headers? -


i looking through root folders in new ubuntu desktop, , noticed standard c header files in include folder(like stdio.h), tried sudo locate stdio.c to no avail. these files? if non existent, how these headers work, happen if edit them? thank you.

you can't find source files because object files in form of library. can't edit source. best @ object file(s) of standard files.

locate libc.a 

then extract object files:

ar x /path/to/libc.a 

and can use objdump read interested object file.

however, if looking source samples, can @ post various online resources.

where can browse sourcecode libc online


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -