Where is the man page for "pthread_mutex_lock"?

I can't find the manual for pthread_mutex_lock with man pthread_mutex_lock, is that something wrong with manpages-dev ? I got that package installed, but missing some manual.

Should I fire a bug to Ubuntu ?

6 Answers

The documentation for pthreads is in the glibc-doc package.

4

Ubuntu (and Debian) include the desired man pages in the manpages-posix-dev package.

Just for completeness, here a version we can enjoy in our web-browser:

I know, links might get outdated, but if we feed our search-engine we will get a lot of alternative links which deliver the desired information.

Advantage: Better readability, comfortability with use in GUI. We don't need to install anything.

Disadvantage: Requires Internet connection (at least for the time we need to download the site).

Just install the glibc-doc package, the missing man pages will be there:

sudo apt install glibc-doc
2

Try

sudo apt-get install manpages-posix-dev
man pthread_mutex_lock(/unlock/destroy/...)

You can see the result ... thank you

1

For KDE Neon, I was able to find everything with:

sudo apt-get install manpages-posix manpages-posix-dev
sudo apt-get install glibc-doc

I needed the second to find things like man pthread_mutex_unlock

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like