Re: ioctl argument

2008-06-18 Thread Bernd Petrovitsch
On Mit, 2008-06-18 at 14:29 +0200, Belisko Marek wrote: > Hi, > > How to pass an array of char via ioctl (not via write method ) to > kernel from user space? > I define unigue IOCTL cmd > > #define LED_SET_STATE _IOW(LED_MAGIC,1, leds) > > and leds should be an array from userspace. In the

ioctl argument

2008-06-18 Thread Belisko Marek
Hi, How to pass an array of char via ioctl (not via write method ) to kernel from user space? I define unigue IOCTL cmd #define LED_SET_STATE _IOW(LED_MAGIC,1, leds) and leds should be an array from userspace. Thank's in advance Marek I -- Marek Beliško Ruská Nová Ves 219 08005 Prešov Slovak