1. 程式人生 > >【問題】man手冊如何檢視區分printf命令和printf函式

【問題】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