Skip to contentSkip to conversation

kill_fasync question

DISCUSSION Anil kumar 1 participant 1 message Aug 20, 2008

lore
Share & tools
lore

Anil kumar

author
#0 lore raw

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