Install missing manpage under Linux-pthread manual
So when I use pthread, I find that there is no manual page of the pthread library
when I use man . Because ubuntu does not install the glibc manual by default, it often prompts that the file cannot be found when using man send or man perror.
$sudo apt-get install glibc-doc
或者
$sudo apt-get install manpages-dev
After installation, if there are still incomplete functions, use man -k pthread
or apropos pthread
find out whether the pthread manual in the current man is complete.
Install manpages-posix-dev
$sudo apt-get install manpages-posix manpages-posix-dev
What is glibc-doc
Contains the man page of libpthread functions and the complete change log (ChangeLog) of the GNU C library. Due to licensing issues, the GNU C library reference manual has been moved to the glibc-doc-reference package.