我想检查一下pthread_mutex_lock函数的使用情况,于是执行命令 man pthread_mutex_lock,结果出现No Manual Entry for pthread_mutex_lock。\n网上查了资料,说是有一个No Manual Entry for pthread_mutex_lock 的提示,需要安装manpages-posix-dev。
\n所以准备安装manpages-posix-dev \xef\xbc\x88 我执行命令:apt-get install manpages-posix-dev \xef\xbc\x89,但是E: 无法找到包 manpages-posix-dev再次提示我。为什么?我使用的是debian 10系统。
\ngyz@debian:~$ man pthread_mutex_lock\nNo manual entry for pthread_mutex_lock\ngyz@debian:~$ sudo apt-get install manpages-posix-dev\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nE: Unable to locate package manpages-posix-dev\ngyz@debian:~$ lsb_release -a\nNo LSB modules are available.\nDistributor ID: Debian\nDescription: Debian GNU/Linux 10 (buster)\nRelease: 10\nCodename: buster\ngyz@debian:~$ getconf LONG_BIT\n64\ngyz@debian:~$ cat /proc/version\nLinux version 4.19.0-9-amd64 (debian-kernel@lists.debian.org) …
Run Code Online (Sandbox Code Playgroud)