Message-ID: <20030530060554.52934.qmail@web9705.mail.yahoo.com> Date: Thu, 29 May 2003 23:05:54 -0700 (PDT) From: None Atall Subject: Char device driver Generic Question To: linuxppc-embedded@lists.linuxppc.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: 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/