patch-2.3.99-pre6 linux/Documentation/ioctl-number.txt

Next file: linux/Documentation/kernel-docs.txt
Previous file: linux/Documentation/ia64/efirtc.txt
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/Documentation/ioctl-number.txt linux/Documentation/ioctl-number.txt
@@ -28,8 +28,9 @@
 I'll register one for you.
 
 The second argument to _IO, _IOW, _IOR, or _IOWR is a sequence number
-to distinguish ioctls from each other.  The third argument is the size
-of the structure going into the kernel or coming out of the kernel.
+to distinguish ioctls from each other.  The third argument to _IOW,
+_IOR, or _IOWR is the type of the data going into the kernel or coming
+out of the kernel (e.g.  'int' or 'struct foo').
 
 Some devices use their major number as the identifier; this is OK, as
 long as it is unique.  Some devices are irregular and don't follow any

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)