[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Help !! calling function in module from a user program
On Tue, 2003-02-18 at 12:50, Sudharsan Vijayaraghavan wrote:
> Hi,
> Am a new bee to linux internals.
> I am trying to make a simple program witch will call a function from a
> module. I made a module compiled it and INSMOD-it into kernel, that works
> fine. I would like to call from my user program a function defined in my
> kernel module.

You never call functions directly from user-mode. You generally use a
syscall to interface between user-mode and kernel-mode. Most drivers
implement operations that map via these syscalls (i.e.
open/close/read/write etc).

What exactly are you trying to achieve?
Alex, homepage:

How much does it cost to entice a dope-smoking UNIX system guru to Dayton?
-- Brian Boyle, UNIX/WORLD's First Annual Salary Survey

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.038 / U:4.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site