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.