Why not get the offset to the read-write functions of my driver?

view full story

http://www.linuxquestions.org – hi all! I'm programming a device driver that performs reads and writes to memory locations that have been mapped (in driver open) according to my reading function in the code of my device driver: Code: static ssize_t device_read(struct file *filp, char *buffer,size_t length, loff_t * offset) and my file operations: Code: static struct file_operations fops = {     .read    = device_read,     .write  = device_write,     .open    = device_open,     .release = device_release }; from my program in c, I use a function from my l (HowTos)