Searched refs:kbd_fd (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s12/open-src/app/kbd_mode/sun-src/
H A Dkbd_mode.c39 static int kbd_fd; variable
48 if ((kbd_fd = open("/dev/kbd", O_RDONLY, 0)) < 0) {
80 if (ioctl(kbd_fd, KIOCSLED, &led))
85 if (ioctl(kbd_fd, KIOCCMD, &click))
88 if (ioctl(kbd_fd, KIOCTRANS, (caddr_t) &translate))
90 if (direct != -1 && ioctl(kbd_fd, KIOCSDIRECT, (caddr_t) &direct))
107 if (ioctl(kbd_fd, KIOCGTRANS, (caddr_t) &translate)) {

Completed in 157 milliseconds