Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Creating a man page entry?
I've recently migrated to linux (ubuntu). One of the interesting things i noticed when i set up my gcc and everything was that i could use the "man" command to view a manual page for any of the predefined functions.
I was wondering, when I write a program, is there any way to have a man page for my program? I'm guessing it would require my program to have some sort of installation procedure which would set up the man page along with my program.