Skip to contentSkip to conversation

Char device driver Generic Question

DISCUSSION None Atall 1 participant 1 message May 30, 2003

lore
Share & tools
lore

None Atall

author
#0 lore raw

Is there a way to know inside "open" and
"close" function of a char device, if it is being
opened/closed for read or write? I can't find any
fields in inode and file structs....

Thanks in advance

=====
------------------------------------------------------------
-Dhmhtrios Meidanis
-Degree in Mathematics, University of the Aegean.
-Master in Computer Architecture and Digital
Systems, University of Crete.
Greece.
------------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/