Char device driver Generic Question

None Atall linux_meis at yahoo.com
Fri May 30 16:05:54 EST 2003


  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/





More information about the Linuxppc-embedded mailing list