Character device (ioctl)

Hello All,

I have written a driver program for character device and I use ioctl(2) from user space to communicate with the device. I am able to open the device and execute the command for the respective ioctl(2) but the address the I am sending from the user space is different and the ioctl(2) returns me a BAD ADDRESS....

Thank you.
 
Back
Top