2008-08-20 02:09:58

by Anil kumar

[permalink] [raw]
Subject: kill_fasync question

Hi,

I know we can use kill_fasync( ) to send signal the user process that data has arrived and maybe by using like ioctl method the user process can get the event data(buffer).

Question:
Is there any way wherein we can send event data(buffer) back to the user process.
kill_fasync( ) takes three parameters async_queue, SIGIO, band.
What I am looking is not only that the driver to signal the user process that data has arrived, but also can send the data back.
-or-
kill_fasync is used only to notify the user process.

Thanks for your help in advance.

With regards,
Anil