I noticed typing in shell like
man printf
shows a man page entry. Usually there are man pages for each command. I mean man pages are supposed to be for APIs and external interfaces (like g++, etc). How did the internals of say the c standard library functions end up there (who did it?)?
I also want to know the whole business of man page. How to create man pages for your application and how to register(or something???) to the man page database of the system?