KIOC
((cmd & IOCTYPE) == KIOC) ||
#define KIOCGETKEY (KIOC|32) /* avoid conflict with "GIO_SCRNMAP" */
#define KIOCGETKEY (KIOC|2)
#define KIOCCMD (KIOC|8)
#define KIOCTYPE (KIOC|9) /* get keyboard type */
#define KIOCSDIRECT (KIOC|10)
#define KIOCGDIRECT (KIOC|41) /* avoid conflict with "GIO_STRMAP" */
#define KIOCGDIRECT (KIOC|11)
#define KIOCSKEY (KIOC|42) /* avoid conflict with "PIO_STRMAP" */
#define KIOCSKEY (KIOC|12)
#define KIOCGKEY (KIOC|13)
#define KIOCSLED (KIOC|14)
#define KIOCGLED (KIOC|15)
#define KIOCSCOMPAT (KIOC|16)
#define KIOCGCOMPAT (KIOC|17)
#define KIOCSLAYOUT (KIOC|19)
#define KIOCLAYOUT (KIOC|20)
#define KIOCSKABORTEN (KIOC|21)
#define KIOCGRPTDELAY (KIOC|22)
#define KIOCSRPTDELAY (KIOC|23)
#define KIOCGRPTRATE (KIOC|24)
#define KIOCSRPTRATE (KIOC|25)
#define KIOCSETFREQ (KIOC|26)
#define KIOCMKTONE (KIOC|27)
#define KIOCGRPTCOUNT (KIOC|28)
#define KIOCSRPTCOUNT (KIOC|29)
#define KIOCTRANS (KIOC|30) /* set keyboard translation */
#define KIOCGTRANS (KIOC|35) /* get keyboard translation */
#define KIOCTRANSABLE (KIOC|36) /* set keyboard translatability */
#define KIOCGTRANSABLE (KIOC|37) /* get keyboard translatability */
#define KIOCTRANS (KIOC|0) /* set keyboard translation */
#define KIOCGTRANS (KIOC|5) /* get keyboard translation */
#define KIOCTRANSABLE (KIOC|6) /* set keyboard translatability */
#define KIOCGTRANSABLE (KIOC|7) /* get keyboard translatability */
#define KIOCSETKEY (KIOC|31) /* avoid conflict with "SETFKEY" */
#define KIOCSETKEY (KIOC|1)