Messages in this thread | | | From | "Fabien Klein" <> | Subject | what about _IOC_SIZE ?? | Date | Thu, 25 Mar 1999 09:27:21 PST |
| |
Hello
Can someone tell me the meaning of the _IOC_SIZE(cmd) value?
ex: on the user side: ioctl(fd,_MY_IOCTL,&buffer) (sizeof buffer = 1000)
on the kernel side
ioctl_function(struct inode *inode, struct file *filp, unsigned int cmd, ulong arg) .. size = _IOC_SIZE(cmd)
and here size = 4 ??? I would expected 1000...no?
Perhaps my ioctl process is totaly wrong?
Fabien Get Your Private, Free Email at http://www.hotmail.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |