[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for help on kill_fasync()



On Wed, Jul 18, 2001 at 02:29:41PM +0000, Camille Labia wrote :
> 
> I am currently working on a PCI device driver that must asynchronously
> notify the user. I'm using the kill_fasync() function, but I don't
> understand how the processes that make use of the device are registered
> in the fasync_struct which is passed as first parameter. Maybe you know
> about some documentation I could take a look at ?
> 
> Thanks (a lot!) in advance.
> 
>  - C.
> 
Take a look at 

drivers/char/pc_keyb.c

to know how to use kill_fasync in kernel space.

And in user space, you should have a look at linux documentation project :
http://www.linuxdoc.org/LDP/lpg/node27.html

-- 
Stéphane LIST                     -- <stephane.list@fr.alcove.com>
Alcove, liberating software       -- <http://www.alcove.com/>
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/