linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Question: Drivers/input/evdev.c] What is the use of write function in evdev_fops?
@ 2014-08-13 16:46 Aniroop Mathur
  2014-08-13 17:06 ` Dmitry Torokhov
  0 siblings, 1 reply; 14+ messages in thread
From: Aniroop Mathur @ 2014-08-13 16:46 UTC (permalink / raw)
  To: Dmitry Torokhov, linux-input@vger.kernel.org

Dear Mr. Torokhov and Linux-Input Community,
Greetings of the day !! :)

I have not seen some good use of write function in input subsystem.
I am trying find the good uses of write function in Input subsystem,
but could not find the solution over internet.
Can you please help in answering my query below:

As you know, in evdev.c file, fops is defined as below
struct file_operations evdev_fops = {
.read           = evdev_read,
.write          = evdev_write,
...
}

So in what cases, evdev_write function is used ?
One case I can think of is that, it can be used in input device simulator
to write the recorded data back into buffer.

Thanks and Regards,
Aniroop Mathur

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-08-18 16:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13 16:46 [Question: Drivers/input/evdev.c] What is the use of write function in evdev_fops? Aniroop Mathur
2014-08-13 17:06 ` Dmitry Torokhov
2014-08-13 18:11   ` Aniroop Mathur
2014-08-13 18:58     ` Dmitry Torokhov
2014-08-13 19:10       ` Aniroop Mathur
2014-08-13 19:20         ` Dmitry Torokhov
2014-08-13 19:28           ` Aniroop Mathur
2014-08-13 19:42             ` Dmitry Torokhov
2014-08-13 20:03               ` Aniroop Mathur
2014-08-14 19:25               ` Aniroop Mathur
2014-08-14 20:19                 ` Dmitry Torokhov
2014-08-14 20:31                   ` Aniroop Mathur
2014-08-18  1:57                     ` Peter Hutterer
2014-08-18 16:04                       ` Aniroop Mathur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).