1

How to decode cmd = 3222823425 in ioctl in Linux 2.6.29?

view story
linux-howto

http://stackoverflow.com – I am just confused like how can I break cmd=3222823425 value into different parts to figure out what this command means actually in the Linux kernel. I know, some functions are making ioctl command with following parameters but I want to know what these parameter values mean. fd=21, cmd=3222823425 and arg=3203118816 I have been looking into various forums, man pages and other links to figure this out like what does it mean when a cmd in an ioctl system call has value of 3222823425. I have found that cmd is a command number which consists of type, number and data_type and first twos are 8-b (HowTos)