Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIoctl problem
Hi, I'm writing a device driver and I have problems with the ioctl function. When I run my user application associated with the driver in the terminal, "printks" that are inside my module funct...
Altera_Forum
Honored Contributor
16 years agoHi,
--- Quote Start ---//Printk function fwrite
Copy_from_user: 4
I'm here
//Printk function Ioctl
Super_ioctl
Valor_cmd:1
Ioctl_Valor1: 5 --- Quote End --- Where did you put 'printk' inside of 'fwrite'? The 'fwrite' is only a library function, not a kernel function. Kazu