Create Linux kernel function man Manual

Source: Internet
Author: User

First of all, there must be a stable version of the kernel source code. I started to use an RC version, and the results always failed...

CD to the kernel code directory,/usr/src/linux-x.x.x does not seem to work, I am using my own linux-2.6.33.3

Then execute make mandocs

Generated in about half an hour

Run sudo make installmandocs to install

In this way, you can use man to view kernel functions.

 

Be sure to install the xmlto package

The kernel also has a large number of documents automatically generated from the code. It includes a comprehensive introduction to kernel internal APIs and how
Properly Handle the locking rules. The generated documents are stored in the documentation/docbook/directory. Included
The following commands are used in the main directory of the core source code to generate PDF, postscript, HTML, and manual.
Pages and other documents in different formats:
Make multiple docs
Make psdocs
Make htmldocs
Make mandocs

-------
Source code
Documentation/zh_cn/howto

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.