Mail Archives: djgpp-workers/1996/06/28/20:48:15
Are there any ioctl()s that read and write, but need different sizes
for read and write? We might want to encode the sizes in different
places (7-bits each) to allow for this:
---- ---- ---- ---- ---- ---- ---- ----
TTrr rrrr rWWW WWWW cccc cccc cccc cccc
T = type (dos, read, write, r/w)
r = read buffer size
w = write buffer size
c = IOCTL code
Note that some systems use part of the code as the "type" and part as
the "subtype", like 8-bits each in our case.
- Raw text -