No manual entry for printf in section 3

Posted sliverlee

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了No manual entry for printf in section 3相关的知识,希望对你有一定的参考价值。

  在引入标准库头文件的时候,很多时候要先查询一下该函数所属的库,以及基本用法,在linux系统下,可以使用 man 1-9 函数名称

  但是 问题来了,No manual entry for printf in section 3  

  那这个问题也很容易解决了,yum在线安装解决!!

  [root@Zabbix-Server-192 tmp]#yum install -y man-pages

  [root@Zabbix-Server-192 tmp]# yum install -y man-pages
  Loaded plugins: fastestmirror
  Determining fastest mirrors
  * base: mirrors.aliyun.com
  * extras: mirrors.aliyun.com
  * updates: mirrors.aliyun.com
  base | 3.6 kB 00:00:00
  extras | 2.9 kB 00:00:00
  updates | 2.9 kB 00:00:00
  zabbix | 2.9 kB 00:00:00
  zabbix-non-supported | 951 B 00:00:00
  (1/3): extras/7/x86_64/primary_db | 153 kB 00:00:00
  (2/3): updates/7/x86_64/primary_db | 2.8 MB 00:00:00
  (3/3): zabbix/x86_64/primary_db | 71 kB 00:00:00   
  Resolving Dependencies
  --> Running transaction check
  ---> Package man-pages.noarch 0:3.53-5.el7 will be installed
  --> Finished Dependency Resolution

   Dependencies Resolved

      ==================================================================================================================================================================================================================================
  Package Arch Version Repository Size
==================================================================================================================================================================================================================================
  Installing:
  man-pages noarch 3.53-5.el7 base 5.0 M

  Transaction Summary
==================================================================================================================================================================================================================================
  Install 1 Package

  Total download size: 5.0 M
  Installed size: 4.6 M
  Downloading packages:
  man-pages-3.53-5.el7.noarch.rpm | 5.0 MB 00:00:00
  Running transaction check
  Running transaction test
  Transaction test succeeded
  Running transaction
  Installing : man-pages-3.53-5.el7.noarch 1/1
  Verifying : man-pages-3.53-5.el7.noarch 1/1

  Installed:
  man-pages.noarch 0:3.53-5.el7

  Complete!

   

  下面以printf为例

  再次执行 man  3 printf 

 

以上是关于No manual entry for printf in section 3的主要内容,如果未能解决你的问题,请参考以下文章

问题No manual entry for pthread_create in section 3

kafkakafka 消费报错 No entry found for connection

PostgreSQ 连接问题 FATAL: no pg_hba.conf entry for host

PostgreSQL 连接问题 FATAL: no pg_hba.conf entry for host

连接到 Redshift 集群时出错 - Npgsql.PostgresException: 28000: no pg_hba.conf entry for host

PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ambari",