O protótipo do ioctl nos módulos do driver linux é
int ioctl(struct inode *i, struct file *f, unsigned int cmd, unsigned long arg);
ou
long ioctl(struct file *f, unsigned int cmd, unsigned long arg);
mas dentro de sys / ioctl.h é...
02.05.2018 / 15:27