How to figure out the file descriptor inside a driver?

Carl-Johan Hansson cjhansson at
Mon Dec 15 14:39:29 UTC 2003

I'm writing a couple of new drivers and in one of them I want to map the 
file descriptor that I receive when I open the driver with another parameter 
when I call ioctl(). Is there some way to figure out the file descriptor 
when I'm inside the driver routine?

Hope you understand the question!

Senaste nytt från motormarknaden

More information about the users mailing list