ioctl argument

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

 



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
Slovakia
http://binaural.ifastnet.com

[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