tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ioctl(2) numbers



Does it matter if ioctl(2) numbers overlap so long as they are in
different groups ?

Was planning to add this:

Index: sockio.h
===================================================================
RCS file: /cvsroot/src/sys/sys/sockio.h,v
retrieving revision 1.34
diff -u -r1.34 sockio.h
--- sockio.h    31 Jul 2018 16:44:30 -0000      1.34
+++ sockio.h    1 Aug 2018 09:56:22 -0000
@@ -44,6 +44,7 @@
 #define        SIOCATMARK       _IOR('s',  7, int)             /* at oob mark? */
 #define        SIOCSPGRP        _IOW('s',  8, int)             /* set process group */
 #define        SIOCGPGRP        _IOR('s',  9, int)             /* get process group */
+#define SIOCPEELOFF    _IOWR('s', 10, int)
 
 #define        SIOCADDRT        _IOW('r', 10, struct ortentry) /* add route */
 #define        SIOCDELRT        _IOW('r', 11, struct ortentry) /* delete route */


Home | Main Index | Thread Index | Old Index