I started learning socket programming for C / C ++ and studying man pages for features like bind, listen, etc.
While navigating between man pages, I noticed that there are situations when there are several help pages for the same system call, for example. nest()
http://man7.org/linux/man-pages/man2/socket.2.html
http://man7.org/linux/man-pages/man3/socket.3p.html
http://man7.org/linux/man-pages/man7/socket.7.html
Among these guides, what appears in my linux box is the first (socket (2)).
I noticed that one with the suffix 3p is called the "POSIX Programmer", and the other two are called the "Linux Programmer's Guide." Functional prototypes and customs are the same (as I understand it).
My question is: what is the purpose of two different versions of manuals for Linux programmers for the same system call, and what is the number between the means of the parente (socket (2), socket (3p), socket (7))?
source share