That's right. Just check the material related to _IOW, _IOR and _IOWR on Google and kernel source. These macros are used to generate unique IOCTL numbers. Regards, Sachin Rane -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of hiran Sent: Thursday, August 04, 2005 2:06 AM To: manikandan Cc: nlo-lists-kernelnewbies@xxxxxxxxxxxx; kernelnewbies@xxxxxxxxxxxx Subject: Re: Ioctl Numbering manikandan wrote: > hi, > what is the method to follow for framing numbering for ioctl commands... > what are the drawbacks if i follow sequence numbering starting from > some 25 or 35... ioctl command numbers should be unique across the whole system. For details refer to "Advanced Char Driver Operations" Chapter in LDD by Alessandro Rubini. > > Rgds > B.M.K > > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@xxxxxxxxx and delete this mail. _____________________________________________________________________