Linux編程中安裝必要的man協助文檔

來源:互聯網
上載者:User

在核心源碼樹根目錄下,運行make help 查看可以使用的make目標有哪些,其中有幾種文檔格式
Documentation targets:
 Linux kernel internal documentation in different formats:
  htmldocs        - HTML
  pdfdocs         - PDF
  psdocs          - Postscript
  xmldocs         - XML DocBook
  mandocs         - man pages
  installmandocs  - install man pages generated by mandocs
  cleandocs       - clean all generated DocBook files

//////////////////////////////////////////////////////////////////////////////////////

在linux沒有找到一個好用的幫忙文檔,像windows中有MS強大的MSDN,

而剛開始入門又不似一些大牛能刷刷的直接找到定義的標頭檔,甚至源檔案,,,所以痛苦的時光時常發生,

今天網上看了一下,其實系統內建的man工具就有很強大的功能,只是我們需要安裝各個庫的幫忙文檔而矣

需要尋找類似於pthread_create函數需要安裝 posix函數幫忙文檔

sudo apt-get install manpages-posix
sudo apt-get install manpages-posix-dev

如果需要查看類似module_init等核心功能肯需要安裝 linux-doc

sudo apt-get install linux-doc

sudo apt-get install libcorelinux-doc

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.