I am coding a char device driver and i want to register the file operations with char driver. I have also implemented the IOCTL interface. Suppose there are two applications which will use fopen, it will call open method of my driver. But suppose one of my application dies without using the fclose. How will my driver know that application is quited unexpectedly?