@mbuf

Hi,

In the function
int (*open) (struct inode *inode, struct file *filp);

for opening devices, what does the inode and filp point to.
These structures are not defined in our code, are they supplied
by the user space application trying to access the device?

Does the inode refer to the /dev/<my char device> file, one of whose
field is
struct cdev *i_cdev;
What is this filp?

Please help.

Regards,
rtnpro
_______________________________________________
Users mailing list
[email protected]
http://lists.dgplug.org/listinfo.cgi/users-dgplug.org

Reply via email to