I wanted to view the manual pages for the POSIX standard message functions: msgsnd, msgrcv, etc. All of them are defined in sys/msg.h and code using them works. But the manual pages are nowhere to be found, neither in my computer (Mac OS X Mountain Lion 10.8.3), in my friends' (OS X Lion) or in the developer pages of Apple in Internet.
Where can I download that manual so I can access it right from terminal?
Best Answer
You can download them from http://manpages.ubuntu.com.
For example, to download man page
msgsnd (3)
:Search for
msgsnd
in the Google Custom Search field on the right hand side:Click on the newest man page in section 3:
Download the linked .gz man page:
Copy it to the man directory:
If you want to keep system and additional man pages apart, copy it to
/usr/local/share/man/man3/
:and add:
to
/etc/profile
, if you wish the new man page to be available system-wide, or~/.bash_profile
, to be available to your user only (seeman man
, that is,man
's man page, for more information onMANPATH
.)Open a new Terminal window or tab for changes to take effect.
Otherwise, copy the man page to
/usr/share/man/man3
:Enjoy: