Find a page when the name is ambiguous
Find a page when the name is ambiguous
Answer
man -k socket whatis read man 2 read
`man -k` (apropos) searches the one-line descriptions when you do not know the name; `whatis` prints those one-liners for a name you do know, across every section, which is how you discover the ambiguity. Then `man 2 read` asks for the section you actually wanted — spelled `man -s 2 read` on Solaris and `man -S2 read` on FreeBSD.
Sarwar & Koretsky 3e ch2 §2.4.5–2.4.6, §2.5.1; ch23