Fork me on GitHub

【问题】man手册如何查看区分printf命令和printf函数

参考:UNIX / Linux Man Command Example to View Man Pages

今天再看别人博客的时候,先仔细看看printf命令是怎么玩的,于是man手册查了下。结果搜出来的确释C下面的printf函数,那我想看printf命令咋整呢?

简单的说,man手册也是分块的,如下

  • 1 – Executable programs or commands
  • 2 – System calls ( functions provided by the kernel )
  • 3 – Library calls ( functions provided by the library )
  • 4 – Special files
  • 5 – File formats and conventions ( configuration files )
  • 6 – Games
  • 7 – Miscellaneous
  • 8 – System administration commands

man 1 printf

man 3 printf

 

posted @ 2018-10-20 16:46  克拉默与矩阵  阅读(592)  评论(0编辑  收藏  举报