ioctl and _IOx macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks, 

just a question, now i dont know what else i can do... thats the
problem:

These are the ioctl commands defined by me:

#define TIS_IOC_FIRST   _IOW('&', 0, struct st_cmd_createBridge)
#define TIS_IOC_SECOND  _IOW('&', 1, __u32)
#define TIS_IOC_THIRD	_IOW('&', 2, __u32)

The first to are working. If i use the third, ioctl returns immediatelly
with an error EINVAL. The drivers ioctl function ist not called. 

I call ioctl the same way as the second one... no difference for me...
any ideas?

Bye Dan


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux