This is caused by incomplete mandoc. For example, after I installed Ubuntu, I learned about the unix Network Programming volume for a while, and I used pthread_mutexattr_setpshared to query it by man. I searched the internet. Install the following two packages. Basically, all the functions can be found in sudoapt-getinstallglibc-docsudoapt-getinstallmanpages-posix-
This is because man doc is incomplete.
For example, after I installed Ubuntu, I learned about the unix Network Programming volume for a while, and I used pthread_mutexattr_setpshared to query it by man.
I searched the internet.
After installing the following two packages, you can find the basic functions.
Sudo apt-get install glibc-doc
Sudo apt-get install manpages-posix-dev
If you still cannot find the function, search for it at http://manpages.ubuntu.com.
On the top of the page, it says:
Hard (3) pthread_mutexattr_setpshared.3posix.gz
Provided by: manpages-posix-dev_2.16-1_all
Then use sudo apt-get install manpages-posix-dev to complete the operation. Multi-purpose tab completion
Again ,,
Install sudo apt-get install manpages-zh and
When you use man to query Common commands, it contains Chinese characters... (Not all are Chinese characters)
Such as man ls and man grep.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2