Re: ioctl numbers

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

 



On 9/30/05, raja <vnagaraju@xxxxxxxxxxxx> wrote:
> Hi,
>    I am writing a character driver.And I am implementing the ioctl call
> for that.I need to select the unique magic number of ioctl.And when i
> see ioctl-numbers.txt that was given in the documentation all the
> letters are reserved.So,How can i select unique magic number?
> I am using fedora core 4 and linux kernel 2.6.11-1.1369_FC4 version.
>

In the same document its mentioned that you can use 32 to 256 ioctl commands ...

http://lxr.linux.no/source/Documentation/ioctl-number.txt#L24

--
Fawad Lateef

--
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