Hi everybody,
I need to implement a specific close syscall for a driver that I've created, but I'm searching for the interface that I have to put in the C source of the driver to include my code in and I can't find it. Is there a routine that depends on the driver executed in close?
A few days ago I implemented ioctl and in this case I found that interface --> int ioctl ( struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg)
but with close I've not found any clue that lets me implement my specific close.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/