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 agoThanks for answers.
But I was referring to "printks" that are in functions of my module no "printfs". I mean in my user code I make a call of function fwrite before calling function ioctl and in the terminal I saw "printks" of ioctl before printks of fwrite and all "printks" that I have written in the module have the same priority. And also why "printks" of ioctl can appear in terminal if I don't make a call of function "ioctl", I have chosen a unique magic number. Thanks in advice