为什么提示No Manual Entry for pthread_mutex_lock错误?

为什么提示No Manual Entry for pthread_mutex_lock错误?

我想检查一下使用情况pthread_互斥锁函数,所以我执行命令 人 pthread_mutex_lock,结果出现无需手动输入 pthread_mutex_lock。我上网查了资料,说有一个无需手动输入 pthread_mutex_lock提示,需要安装手册页-posix-dev

所以我准备安装手册页-posix-dev(我执行命令:apt-get 安装 manpages-posix-dev), 但E:无法找到软件包 manpages-posix-dev再次提示我。为什么?我使用的是debian 10系统。

gyz@debian:~$ man  pthread_mutex_lock
No manual entry for pthread_mutex_lock
gyz@debian:~$ sudo apt-get install manpages-posix-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package manpages-posix-dev
gyz@debian:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
gyz@debian:~$ getconf LONG_BIT
64
gyz@debian:~$ cat /proc/version
Linux version 4.19.0-9-amd64 ([email protected]) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 
SMP Debian 4.19.118-2+deb10u1 (2020-06-07)

答案1

sudo apt-get install glibc-doc.

相关内容