Compile Linux kernel Documentation as man Manual

Source: Internet
Author: User
Compile the Linux kernel Documentation as the man manual-general Linux technology-Linux programming and kernel information. The following is a detailed description. For each Linux kernel and driver developer, the Documentation directory provided by the kernel is undoubtedly a very useful reference and learning material. It is recommended to read more ~

Some kernel APIs may be used when we are writing a driver or modifying the kernel. We also want to see how to use them in the man manual like the libc api, without a doubt, finding the relevant function definition in the kernel source code is a method, but it is quite troublesome. You can install the kernel api as the man manual, and then you can easily run man xxx-kernel-api. The procedure is as follows (based on FC6 ):

(1) In the top-level directory of the kernel source, execute make installmandocs to install the man manual under/usr/local/man/man9.

NOTES: Note: If you need some other tool programs when running make installmandocs, you can use the yum tool for online installation. For example, if your system lacks xmlto in make installmandocs, therefore, execute yum install xmlto install the required tools and then execute make installmandocs.

Since then, it has been installed. The following section shows man copy_from_user.
QUOTE:

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.