Thread (5 messages) 5 messages, 3 authors, 2012-04-14

[RFC] Kernel API

From: Alexandru Juncu <hidden>
Date: 2012-04-13 17:29:06

On Fri, Apr 13, 2012 at 8:09 PM, harryxiyou [off-list ref] wrote:
Hi everyone,

I'd like to know how i can get all the Kernel APIs, which i can call
ones i need in my
Kernel Modules. Sometimes, i wanna use some Kenrel APIS as the userspace i
can use 'man api', which i can understand it and use it. But i have
not find the way
to search a Kernel API easily. Cloud anyone give me some advices?
Hello!

The Kernel "API" is found in kernel itself. Any exported functions are
available in your modules.
You won't have man pages for them (as far as I know). The best thing
to do is use the kernel sources.

cscope and ctags in your editor could help you. Also, LXR [0].

[0] http://lxr.linux.no/#linux+v3.3.1/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help