LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   man pages for kernel functions (https://www.linuxquestions.org/questions/linux-newbie-8/man-pages-for-kernel-functions-758389/)

MahendraL 09-29-2009 02:03 AM

man pages for kernel functions
 
Hi,
I use Ubuntu Linux. Is it possible to be able to view
man pages for linux kernel functions like kmalloc, put_user, get_user
etc ? Where do I get them ?

Thanks,
Mahendra

lutusp 09-29-2009 02:09 AM

Quote:

Originally Posted by MahendraL (Post 3700234)
Hi,
I use Ubuntu Linux. Is it possible to be able to view
man pages for linux kernel functions like kmalloc, put_user, get_user
etc ? Where do I get them ?

Thanks,
Mahendra

You appear to have Internet access, so ...

Gogle: kmalloc

Gogle: put_user

Gogle: get_user

All typed for you and everything.

markush 09-29-2009 02:13 AM

Hello MahendraL,

there is no special part for kernelfunctions in the manpages. Try man man, the manpage about the manpages, to get information about the available manpage-sections.

Otherwise c and c++ functions have their manpages. The kernel itself is explained in many places in the internet. Try google.

Markus

ghostknife 12-28-2009 08:18 AM

Hey,

There is in fact man pages for the kernel in section 9 (Kernel Routines - non standard).

I don't know where to get them for the latest kernels, though if you don't mind have a look at: http://mirror.linux.org.au/linux-mandocs/

It's for older kernel versions, though if they exist for all those versions it may also be possible to find them somewhere else.

If you do, please send along the link.

Q

Collodi 01-12-2010 04:39 PM

Hello,

yes, there is 9th section of man pages. If you have no files in man/man9/ directories,
you have to build it from linux source.
So download source and build man pages with command: "make mandocs",
then install them with command: "make installmandocs" to /usr/local/man/man9/
There are many others targets, for list see "make help".

MahendraL 01-13-2010 05:14 AM

Thanks Collodi. That was very helpful. I tried the steps you
described and they worked.

Quote:

Originally Posted by Collodi (Post 3824320)
Hello,

yes, there is 9th section of man pages. If you have no files in man/man9/ directories,
you have to build it from linux source.
So download source and build man pages with command: "make mandocs",
then install them with command: "make installmandocs" to /usr/local/man/man9/
There are many others targets, for list see "make help".



All times are GMT -5. The time now is 03:41 PM.