Skip to contentSkip to conversation

Warn about ioctl collision

PATCH Pavel Machek 1 participant 1 message Apr 3, 2002

lore
Share & tools
lore
#0 lore raw

Hi!

It is probably too late to fix it properly, but warning is better than nothing. (It confused the hell out of me...)
Pavel

include/asm-i386/ioctls.h +1 -1
@@ -6,7 +6,7 @@
 /* 0x54 is just a magic number to make these relatively unique ('T') */
 
 #define TCGETS		0x5401
-#define TCSETS		0x5402
+#define TCSETS		0x5402 /* Clashes with SNDCTL_TMR_START sound ioctl */
 #define TCSETSW		0x5403
 #define TCSETSF		0x5404
 #define TCGETA		0x5405
Signature · 2 lines
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa