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

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -